nneonneo / iOS-SOCKS-Server

iOS HTTP/SOCKS proxy server for fake-tethering
268 stars 33 forks source link

VPN Support #30

Closed regulad closed 2 days ago

regulad commented 1 week ago

If USE_PHONE_VPN is True, use a utun interface if it is available to route. If not, silently fallback to existing cell interfaces. Tested working.

Closes #26

ParkerrDev commented 1 week ago

To be clear, is this VPN support for a VPN on the iOS device or the connected devices? If so what protocol and port should be used? What VPN are you using that works with this?

regulad commented 1 week ago

This commit simply allows requests made to the proxy server on the iOS device to pass through the VPN. I used Tailscale running on my iOS device to test.

nneonneo commented 1 week ago

Thanks for the contribution! I'll test it out with my VPN tomorrow and let you know if there are any changes needed.

nneonneo commented 2 days ago

Verified to work with a Cisco Anyconnect VPN enabled - thanks for the nice contribution!