Open jaredjones opened 10 years ago
Hahahaha that's been on my TODO for a while. I was trying to use the native if_utun driver in 10.7+ but hit a snag with setting up the routes. tun2socks is what I was trying to use as well.
On Wednesday, June 25, 2014, Jared Jones notifications@github.com wrote:
Back in 2011 a company called Tether implemented full scale tethering almost identically to how you are doing it now with one small caveat. They created a network interface on your Mac which routed the networking over USB to the iPhone via Socks. The reason they created a virtual networking interface for this is because SOCKS tethering is not real tethering. A lot of applications do not support SOCKS and most of the OS doesn't support it as well. With the use of Tun/Tap you can create a virtual network that can route the internet via whatever means chosen to a listening iPhone. You might want to check this out. http://tuntaposx.sourceforge.net
;)
— Reply to this email directly or view it on GitHub https://github.com/chrisballinger/Tether-iOS/issues/1.
The maker of GuizmOVPN seems to have figured out how to get if_utun working in a patched build of openvpn over here, which may help with getting it to work.
Back in 2011 a company called Tether implemented full scale tethering almost identically to how you are doing it now with one small caveat. They created a virtual network interface on your Mac which routed the networking over the virtual interface into a local program running on OS X and then they muxed over USB to the iPhone via a socks proxy. The reason they created a virtual networking interface for this is because SOCKS tethering is not real tethering. A lot of applications do not support SOCKS and most of the OS doesn't support it as well. With the use of Tun/Tap you can create a virtual network that can route your Mac's network requests into a listening/running OS X program which can forward the requests to a socks server listening on your iPhone. You might want to check this out. http://tuntaposx.sourceforge.net
I noticed that you were mentioning tun2socks, however an actual virtual network interface would likely cause less headaches and would work loads better.
;)