halogenica / iphone-socks-proxy

Automatically exported from code.google.com/p/iphone-socks-proxy
GNU General Public License v2.0
5 stars 3 forks source link

Workaround if your Mac fails to connect and thinks it is not connected to the Internet #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Creating the network and then setting up makes your mac believe that it is 
not connected to the internet.

Please provide any additional information below.

The solution, at least for me, is to set up in the following way:

Steps for SOCKS proxy support:

1. On your Mac, create a new network. TIP: create the same named network each 
time,
   and set up a static IP setting for both your Mac and your phone. I use 10.0.0.1 for my Mac,
   and 10.0.0.2 for my phone. Then, the proxy settings won't change (although the port might).
2. Connect to the network with your iPhone
3. Run tethering app
4. _Disconnect_ your mac from the network (important)
5. set up the SOCKS proxy on your mac (tip: have a separate Location set up 
that already
   has the SOCKS proxy set up -- you may have to change it depending on if you have a new IP address.
6. Reconnect your mac to the network, at which point it should start working 
with the proxy.

* as far as I can tell, the reason it might not work originally is that when 
you set up the
network, your mac thinks it is not connected to the internet, and won't attempt 
to connect.
If you set everything up and then reconnect the mac to the network you set up, 
it will
try to connect, be successful, and you're good to go.

Original issue reported on code.google.com by tofergr...@gmail.com on 26 Jan 2014 at 6:26