Warning - Tethering your iPhone is against the iPhone data plan terms. AT&T could slap you with huge fees if you overuse this. I recommend only using it during emergencies.
Here's the basic rundown:
- 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
Step 1: Jailbreak your iPhone
Step 2: Install 3Proxy and Terminal
During the jailbreak, Cydia should have appeared on one of your app pages:
Step 3: Create an ad-hoc Wifi network using your laptop
Using whatever wireless software suite you have, create an ad-hoc network. On a Mac it's in the Airport menu, under "Create network...". Name it something inconspicuous. I called mine "baladoux".
Step 4: Find your iPhone's IP address
Then, hit the blue arrow next to it, and wait for your IP address to show up:
Step 5: Open Terminal and run the proxy program
Simple enough. Open Terminal, type "socks" and hit return.
Step 6: Open Safari on the iPhone and open a web page
Any page will do. I recommend cre.ations.net:
Step 7: Configure your browser
In Firefox, head to Preferences, and under Advanced, Network, hit Settings:
That should be all you need! Firefox should be able to browse the Internet through your iPhone's 3G connection.
Tethering costs a lot of battery life on the iPhone so make sure you have it plugged in. When you're done, make sure to quit Terminal by opening it back up and pressing and holding the Home button until it quits.
2.0, Apple, Apple iPhone 3G, Cydia, Guide, iPhone 3G unlock, jailbreak, jailbroken, proxy, Pwnage 2.0.1, pwnage 2.0.2, socks, tethering