Mygod / VPNHotspot

Share your VPN connection over hotspot or repeater! (root required)
Apache License 2.0
3.77k stars 372 forks source link

[Feature] Support for VPNs with specific subnets #448

Closed jim3692 closed 1 year ago

jim3692 commented 1 year ago

I have a Wireguard VPN server that only accepts a specific subnet, instead of routing all the traffic of the client.

This VPN is used to access my internal network. Sometimes it's handy to be able to use tethering and access my network using a PC, instead of my phone.

My current solution is running SSH tunnels, on my phone, for the IPs and ports that I am most interested in, and connecting to those services through my phone's hotspot IP and the forwarded port.

Mygod commented 1 year ago

If your Android VPN service is configured properly, it would be supported automatically.