nneonneo / iOS-SOCKS-Server

iOS HTTP/SOCKS proxy server for fake-tethering
255 stars 31 forks source link

Possible to use WhatsApp and Telegram? #11

Open MrMabulous opened 1 year ago

MrMabulous commented 1 year ago

Thank you for this solution, it worked for me like a charm. However, I was first not sure what you meant in the instructions by "point your devices to...". What I did first was to enter the PAC URL that is shown in the python console after running the script in the safari browser of the iPhone that I want to connect to the internet. A pop up opened that asked whether I want to load a pad.dat and I confirmed, and in the python console of the iPhone that has 4G internet I got the prompt

172.20.10.9 - - [21/Aug/2022 10:31:25] "GET /wpad.dat HTTP/1.1" 200 -

however, after that nothing more happened and I could not access any websites.

I then opened the wifi settings of the iPhone without internet and clicked on the "i" info button of the wifi it is connected to, scrolled all down and under "HTTP-Proxy" it was not enabled. I clicked on "configure proxy" and then switched from "off" to "automatic" and then a URL field appeared where I entered the PAC url (similarly to the tutorial here: https://www.ias.edu/wpad-setup-guide-ios). After that accessing the internet through the browser finally worked :)

  1. so my suggestion is that maybe you could add some more detailed instructions in the sevond step of "running"

  2. a question: while the browser and some apps work fine, WhatsApp, Telegram and Instagram do not work. Is there a way to run those apps over the proxy tether as well?

nneonneo commented 1 year ago

Thanks for the suggestion. I added more detailed setup instructions in 46a8ec61b7bce66c5e206b6294a2581f8acb5822.

I have not tested WhatsApp or Telegram using this proxy, so unfortunately I couldn't tell you why they don't work. I will note that UDP connections are not fully supported; it's possible that these apps depend on UDP connections to function.

i-kustov commented 5 months ago

For anyone else who wants to use Telegram through that proxy: You can just add it in 'Data and Storage' -> 'Use Proxy' Tested on macOS 😇

image