Tunneling

From Netsoc Wiki

Jump to: navigation, search

[edit] Tunneling http over SSH

Sometimes you may find yourself browsing from an insecure location, such as a coffee shop or other public WiFi system. To better secure yourself against activities like sniffing you can "tunnel" your traffic through a socks proxy. To set up a tunnel, follow these steps;


1. - Open the tunnel. Replace portnumber with an unused port. Try 6629-6669. Replace username as appropriate. You may use the -ND flag instead of -D alone to suppress a shell from opening. Leave this open for the duration of your browsing.

ssh -D portnumber username@netsoc.com


2. - Configure browser. Go to the preferences of your browser. (We'll use Firefox). Locate the network connectivity options. Set for Manual proxy configuration and fill in the SOCKS host field as localhost and the port you selected earlier.

Here is the setup for Firefox 3 for port 6629:


Personal tools