Skip to content
Ricky Zhang edited this page Nov 17, 2013 · 18 revisions

Depending on how you create a wifi network, there are two different use cases. Use case 2 is perfect way to use this tethering tool for Macbook air. However, you need an additional portable wifi router.

Use case 1

Create Ad-hoc wifi network in your PC.

Connect your iPhone to this wifi network. Please don't set up DNS or router in your iPhone wifi setting. Otherwise, tethering will fail.

In this use case, you can only share your iPhone proxy with only one device.

For Mac users, I have confirmed in Mavericks that system wide default proxy configuration provided by Mavericks didn't work properly. This is due to DNS configuration when creating Ad-hoc wifi network. Running "scutil --dns", I can't see DNS configuration in default resolver. I haven't figure out DNS workaround, although I mess around scutil to add global DNS key. Please shoot me an email if you have any clues.

Although system wide proxy failed, you are still able to use Firefox and Chrome for web browse by setting up socks proxy individually. For configuration details, please refer to Outstanding issues & Workaround.

For other network application using BSD POSIX socket API, you are able to use tsocks to socksify application. I have added my additional patch to tsocks in my another github [tsocks project] (https://github.com/rickyzhang82/tsocks_dnsdirect)

Use case 2

Create wifi network in your router.

Connect your devices and iPhone to this network. You will use your iPhone as proxy and DNS server.

In this use case, you can share your iPhone LTE connections to many devices.

For Mac users, set up your DNS server point to iPhone. It works perfectly with DNS and default proxy configuration provided by Mavericks. You can always fall back to tscoks if Mavericks doesn't socksify your application.

I have confirmed this use case with portable wifi router (HooToo® TripMate HT-TM01 Wireless N150 Portable Travel Router). Mavericks system wide socks proxy connection can make the following apps: Safari, Mail and Evernote connect through iPhone socks5 proxy.

Clone this wiki locally