SSH Tunneling with Putty

SSH Tunneling

Do you want to tunnel your traffic to a secure server out on the internet cause you don’t trust your local lan? Or do you want to have a public ip address that is from another country? You can actually do their pretty easily if you happen to have a server with SSH installed plus putty.

You can download putty here.

The first thing you need to do is change some setting in your /etc/ssh/sshd_config file. You need to change the following :

#AllowTcpForwarding yes

You to uncomment that setting so it is enabled. (In other words remove the pound or tic tac toe looking sign from the beginning)

AllowTcpForwarding yes

The next thing you need to do is open up your putty and add the tunnel to your connection for the server you want to use.

putty settingsAdd the source port of 8080 (or whatever port you want ) and add the destination of 127.0.0.1 which is the loopback ip. Then just click on add. Once you have those 2 pieces of information in go ahead and connect to your server.

To actually go ahead and use this proxy open you favorite browsers network settings.

firefox settingsIn this example we use Firefox. All we did here was add 127.0.0.1 and the port 8080 for SOCKS. Once you have that click Ok and you should be good to go.

Enjoy your new proxy!

Ed

 

This entry was posted in Informational. Bookmark the permalink.