
I use often public network to access the Internet but I do not always trust them even though they are secure and free (I feel unsafe because I do not have any control on it.) It is good to navigate few website and search some information but you have to avoid login to your Facebook, Gmail, Bank Accounts or any other accounts because you do not know who is the real person behind that Network.
Therefore, if you have a access to SSH Server, you can set up a proxy over an SSH connection which more reliable, secure and worry-free.
To accomplish SSH Tunnel, you need :
* SSH Client (Putty –> is the best / recommended). You can get it for free here : Putty Download
* SSH Server (either at work, home or hosting server)
* Browser (suggestion : Firefox or Chrome)
Once Putty downloaded, launch the software, enter your server name or ip with the port (default 22)
After, click SSH
Enter source port : any random port between 1024-65535 : 1500 in this example
Select the box : Auto and Dynamic
Then click Add and it should show up as D1500.
Select Open and log-in to your ssh server.
After, open Firefox and go to Tools->Options
Advanced->Network->Settings
Set the following proxy configuration:
Sock host: type localhost or 127.0.0.1
Port : 1500 (the port that you put added on Putty)
and Click OK
Once done, to make sure the proxy is working, you can go to google or any website to find your IP.
If you are switching all the time your connection : I recommend also installation an addon on Chrome (TunnelSwitch) or Firefox (SwitchProxy)
For MAC or Linux user, you can simply run the following command on the terminal :
ssh -L 33890:192.168.1.19:3389 user@sshserver.home.com
This will create a RDP connection on port 33890 for your local RDP server using SSH Tunnel
333890 : port you want to create a tunnel
192.168.1.19:3389 : you rdp server and rdp default port
user@sshserver.home.com : your user name of ssh server and it’ address
Leave a Reply