nneonneo / iOS-SOCKS-Server

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

VPN Support #30

Closed regulad closed 1 month ago

regulad commented 2 months 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 2 months 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 2 months 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 2 months 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 1 month ago

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