iOS-SOCKS-Server icon indicating copy to clipboard operation
iOS-SOCKS-Server copied to clipboard

VPN Support

Open regulad opened this issue 1 year ago • 3 comments

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

regulad avatar Sep 19 '24 14:09 regulad

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?

ParkerrDev avatar Sep 19 '24 15:09 ParkerrDev

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.

regulad avatar Sep 19 '24 17:09 regulad

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

nneonneo avatar Sep 19 '24 17:09 nneonneo

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

nneonneo avatar Sep 27 '24 14:09 nneonneo

Im also using tails but was not able to connect to it because i got the error Captive Portal Detected. Im using a portable router for my setup. did you add your tails DNS into the code?

Ayaan7345 avatar Dec 02 '24 04:12 Ayaan7345

The proxy always uses a generic Google DNS. You can modify it yourself to use a better DNS server for your setup.

On Sun, Dec 1, 2024 at 11:13 PM Ayaan Ahmad @.***> wrote:

Im also using tails but was not able to connect to it because i got the error Captive Portal Detected. Im using a portable router for my setup. did you add your tails DNS into the code?

— Reply to this email directly, view it on GitHub https://github.com/nneonneo/iOS-SOCKS-Server/pull/30#issuecomment-2510539543, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQAOMWYNJ3N23SAKXFFG4D2DPM5HAVCNFSM6AAAAABOQBMSACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJQGUZTSNJUGM . You are receiving this because you authored the thread.Message ID: @.***>

regulad avatar Dec 02 '24 13:12 regulad

Are you able to share an example of your config that you used tails with what did you change ?

Ayaan7345 avatar Dec 02 '24 15:12 Ayaan7345