Setup a SSH Tunnel for Secure Browsing

Setup a SSH Tunnel to Secure your Browsing on a Public Network

Have you been sitting at your favorite wifi hotspot and wanted to view your bank statement? Do you also notice that guy sitting in the corner who is also working on his computer. That guy could be a hacker and checking all incoming and outgoing packets looking for YOUR passwords. Anyone sharing a network, can use a packet sniffing program to get your private information if you are not using a secure connecting.

One of the fastest way to setup a secure connection is to use a SSH Tunnel

To setup a secure shell(ssh) tunnel with want to establish a connection to another linux server.

Open up your terminal and type to following information

ssh -D localhost:9999 [email protected]


ssh -D 9999 [email protected]

alt ssh tunnel firefox

This will create the secure connection to your remote server.

Now change your network settings in firefox

Click Edit -> Preferences -> Advanced -> Network -> Settings

Now Click Manual Proxy Configuration -> Edit SOCKS Host -> using Port 9999

alt ssh tunnel firefox settings

Now if you visit the site, you will notice that your ipaddress has changed to the remote server.

alt ssh tunnel firefox settings whatismyipaddress

Everyone should use a SSH Tunnel or a VPN when using a Private Wifi Connection!!


  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

OpenVPN Tutorial For Debian/Ubuntu on OpenVZ

What is OpenVPN?OpenVPN is a reliable and well tested VPN solution that is able to run over a...

How do I SSH into my VPS? (OS X/Terminal)

If you are on a Mac, SSH-ing into your VPS is very simple. Simply launch "Terminal" by going to...

How do I SSH into my VPS? (Windows/Putty)

This article will teach you how to access your server via SSH using the PuTTY client on Windows....

Install Remi and EPEL yum repo Centos 7

Install Yum EPEL and Remi repositories on Centos 7 Adding additional useful repo's on Centos 6...

Install PHP/PHP-FPM 5.4 Centos 7

Install PHP/PHP-FPM 5.4 on Centos 7 PHP is a server-side scripting language designed for web...