Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hack3rcon

macrumors regular
Original poster
Nov 26, 2014
118
2
Hello.
How can I tunnel whole iPhone via SSH? Any tool or idea?

Thank you.
 
No, I don't need SSH client. I like tunnel my whole device via a SSH connection. something like VPN.
 
SSH tunnels don't work like a VPN. They are used to tunnel a specific port to a specific IP address. I supposed you could use the tunnel as a transport for a VPN, but you'd still need a VPN set up to "tunnel the whole device".
 
In order to tunnel all iOS Internet traffic using SSH:

1. Get this app: SSHTunnel (it's Free for 1 tunnel at time)
2. Create a tunnel with type "Dynamic" and local bind port 8089.
3. Create config.pac file with content:

function FindProxyForURL(url, host) {
return "SOCKS 127.0.0.1:8089";
}
, where 8089 is a local tunnel port.
4. Put config.pac file to the Dropbox and copy download link. Link must have the suffix "dl=1".
5. Go to Settings > General > Network > Wi-Fi and tap the blue arrow on the right side of the entry for your network. Scroll down to the "Proxy" section and tap "Auto". Enter the Dropbox URL.
6. Have FUN!
 
In order to tunnel all iOS Internet traffic using SSH:

1. Get this app: SSHTunnel (it's Free for 1 tunnel at time)
2. Create a tunnel with type "Dynamic" and local bind port 8089.
3. Create config.pac file with content:

function FindProxyForURL(url, host) {
return "SOCKS 127.0.0.1:8089";
}
, where 8089 is a local tunnel port.
4. Put config.pac file to the Dropbox and copy download link. Link must have the suffix "dl=1".
5. Go to Settings > General > Network > Wi-Fi and tap the blue arrow on the right side of the entry for your network. Scroll down to the "Proxy" section and tap "Auto". Enter the Dropbox URL.
6. Have FUN!
I could not wait for it and I changed my cell phone. I started this thread at Nov 26, 2014 and this App release date is Jul 24, 2017.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.