|
This article is not for noobs, I'm not gonna explain how things work. I'm just providing all the required files to have a socks proxified connexion with a jailbroken iPhone/iPod Touch/iPad.
If you are not good at French, use Google Translate.
Download this archive: Socks_Proxy_iPhone_Thireus_Pack.zip ~ 12ko
You'll find in it, two folders.
mobile_folder --> Files need to be put into your mobile folder on your phone (home directory)
ssh :
This script needs to be edited for your own configuration. This script must be called by the Terminal application on your iDevice after every reboot of the device (I personally don't want to launch it automatically). This script will automatically connect you via ssh to your server every time the device gets connected to a Wifi network (you can also ask it to open a tunnel over 3G, please read the source code to activate it!).
black_hole_http_server.pl + null.gif :
These files are needed to get a black hole http server, this is where banned requests are sent, and they get a null.gif reply, so for example banned ads will show a null.gif image (this actually doesn't work as expected... and I really don't know why, the first time the script is launched it works well and we can see the null.gif instead of ads, but after we get a 404 image :-/. If someone knows why please contact me!)
server --> Files need to be put on your server, or on the internet
proxy_rules.pac :
This file provides the rules whether the requests are sent to the black hole or via your ssh tunnel You have to make it available over the web, because this file will be called into your network settings and OS 3 doesn't allow us to use local pac files. For 3G network you have to edit your network pref plist file and enter the URL manually.
Some screenshots:
 
Note: I don't use socks over 3G anymore because every 10Mo of downloaded data the tunnel gets resetted.
Note 2: Obviously you need to install perl, ssh, etc...
|