本文由regou.me原创转载请保留此行
这篇文章是写不越狱的iPad如何共享使用局域网中的SSH隧道的,顾及到有很多国外朋友的需求,先写个英文版,英文水平有限,有错误请指出
I bought an new iPad last week.The fonts on the screen are incredibly sharp!
You may want to hold it,lazy in bed watch the YouTube and Vimeo.But due some reason ,we can’t watch them cause they’re been blocked.
Some may suggest using VPN,that’s fine,and the easiest way,but SSH Tunneling is much cheaper.
if you don’t have your iPad jailbreaked,so local port forwarding will not going to work.We need share a established tunnel with a pc which on our home network .Let’s do it ,in this way:
- First,connect an SSH in your PC.
- I prefer “Bitvise Tunnelier” for client ,connect ssh for the tunnel as you used to,but change the Listen Interface to 0.0.0.0 (see the screenshot ) and port 37111(as you want)
- You may need to accept the incoming port (in this case is TCP 37111)on the firewall
- I prefer “Bitvise Tunnelier” for client ,connect ssh for the tunnel as you used to,but change the Listen Interface to 0.0.0.0 (see the screenshot ) and port 37111(as you want)
- Open the text editor ,and make a PAC file
- Copy the code down here,and change 10.0.0.169 to your PC’s ip address,and 37111 as your set
function FindProxyForURL(url, host) {
return 'SOCKS 10.0.0.169:37111';
} - Upload the .pac file to your FTP server(highly recommended the tiny “Slyar FTPserver“,it’s the best way to build a local ftp server in just few seconds) or http server whatever where your iPad could access, and remember the address of your uploaded file
- Copy the code down here,and change 10.0.0.169 to your PC’s ip address,and 37111 as your set
- Change the iPad http proxy->; Auto ->;URL to your .pac file’s location
ALL DONE!!