New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-subnet local network sharing #2674
Comments
If you enable local network sharing you can already send traffic to any private IP range. So this is already possible. You just need to set up your routing table correctly. The VPN tunnel sucks up any traffic that is destined for the otherwise default route. So if you are on the network If your router that bridges your two subnets is at
|
I'm closing this as it's not a missing feature. Or at least should not be. It should work correctly if you set routes correctly. Please re-open if there is something preventing this from working as intended. |
Here's the command for Windows in case anyone else needs it: route -p ADD 192.168.1.0 MASK 255.255.255.0 192.168.0.1 Adjust the subnet, the mask and router IP respectively as you need them 🙂 |
Is there any way to set up a routing table on Android or any other workaround? Thanks! |
Make your router advertise it? If your router provides access to multiple networks, and you use DHCP in your network, you probably want to make your router advertise all those networks |
Thanks a lot. I searched and found that something called BGP...is that what you are talking about? |
No, BGP is something different. You don't want to use BGP on your LAN :) I'm not that familiar with OpenWrt, but this looks like what you want: https://www.reddit.com/r/openwrt/comments/pywj4d/question_how_to_push_route_table_routes_down_to/ |
FYI - I got it working via OpenWRT settings, add the following to the
The above would be similar to running this on the client device - These can be added via Luci too at |
Issue report
Operating system: macOS 11.2.3
App version: 2021.2
Issue description
Local network sharing only works for a single subnet, but many local networks have multiple subnets, e.g. 192.168.0.5 needs to communicate with 192.168.23.2. Please add a setting for the local network netmask, or at least default to
/16
.The text was updated successfully, but these errors were encountered: