* Jailbreak your iPhone 3G
* Install 3Proxy and Terminal
* Create an ad-hoc Wi-fi network using your laptop
* Join the network with your iPhone
* Find the iPhone's IP address
* Open Terminal and run the proxy program
* Open Safari on your iPhone and open a web page
* Configure your browser to use the proxy