There are many times when you may want to browse the web, but would like to keep your browsing history private. You may also need to access a website that is blocked at your office or a cafe. Setting up a secure SSH SOCKS tunnel to your server will enable you to route all web traffic through your host. Here’s how:
- Open Putty.
- Expand the SSH tab in the tree on the left and select Tunnels.
- Under Add new forwarded port, type 1080 for the source port.
- Leave destination blank and select Dynamic and Auto on the radio buttons underneath.
- Go to the top of the tree on the left and select Session.
- Set the hostname of your Solar server.
- Under Saved Sessions, enter a name for this profile and then click Save.
- Doubleclick on the session name that you saved and you should be presented with an SSH login to your server.
After you have logged in, your tunnel will be established. Next you have to configure your browser to use the new tunnel.
These instructions are written for version 21 but they can be followed for most versions.
- Click the Firefox button in the top left of the browser and select Options\Options.
- Click the Advanced tab.
- Select the Network tab underneath.
- Under Connection, click Settings.
- Select Manual proxy configuration.
- For Socks Host enter localhost and for the Port enter 1080.
Your secure SSH tunnel is now set up. To confirm that it is working, go to www.whatismyip.com. The IP address listed should be the IP address of your server.