Browsing the Internet with SSH tunneling
Tuesday, March 16th, 2010On your server:
1. Just create an SSH account.
On your client (Linux/Mac):
1. Open a terminal and key in the following,
#ssh -fND 8080 username@remoteserver.net
2. Open Firefox and go to Preferences -> Advanced -> Network -> Proxy Settings and choose “Manual proxy configuration.”
3. Put “127.0.0.1″ for the SOCKS host field and “8080″ on the corresponding port field.
4. You can now start browsing.
Optional:
5. If you want to use the DNS server of the SSH server, open Firefox and key in “about:config” at the address bar.
6. Look for “network.proxy.socks_remote_dns.” Double-click it to change the value from “false” to “true”.
7. You can now start browsing!