Difference between revisions of "Setup a SSH Tunnel for Secure Browsing"

From Brian Nelson Ramblings
Jump to: navigation, search
(Setup a SSH Tunnel to Secure your Browsing on a Public Network)
(Setup a SSH Tunnel to Secure your Browsing on a Public Network)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Setup a SSH Tunnel to Secure your Browsing on a Public Network==
 
==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 that is also working on his computer.  That guy could be hacker and checking all incoming and outgoing packets looking for passwords.  Anyone sharing a network, can use a packet sniffing program to get your private information if you are not using a secure connecting.
+
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
+
===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.
 
To setup a secure shell(ssh) tunnel with want to establish a connection to another linux server.
Line 10: Line 10:
  
 
  ssh -D localhost:9999 [email protected]
 
  ssh -D localhost:9999 [email protected]
 +
or
 +
ssh -D 9999 [email protected]
  
[[File:Secure-ssh-tunnel-firefox.png|800px|thumb|center|alt ssh tunnel firefox]]
+
[[File:Secure-ssh-tunnel-firefox.png|800px|alt ssh tunnel firefox]]
  
 
This will create the secure connection to your remote server.
 
This will create the secure connection to your remote server.
  
Now change your network settings in firefox  
+
===Now change your network settings in firefox ===
  
 
  Click Edit -> Preferences -> Advanced -> Network -> Settings
 
  Click Edit -> Preferences -> Advanced -> Network -> Settings
Line 21: Line 23:
 
  Now Click Manual Proxy Configuration -> Edit SOCKS Host -> 127.0.0.1 using Port 9999
 
  Now Click Manual Proxy Configuration -> Edit SOCKS Host -> 127.0.0.1 using Port 9999
  
[[File:Secure-ssh-tunnel-firefox-settings.png|498px|thumb|center|alt ssh tunnel firefox settings]]
+
[[File:Secure-ssh-tunnel-firefox-settings.png|498px|alt ssh tunnel firefox settings]]
  
Now if you visit the site http://whatismyipaddress.com, you will notice that your ipaddress has changed to the remote server.
+
===Now if you visit the site http://whatismyipaddress.com, you will notice that your ipaddress has changed to the remote server.===
  
[[File:Secure-ssh-tunnel-firefox-whatismyipaddress.png|800px|thumb|center|alt ssh tunnel firefox settings whatismyipaddress]]
+
[[File:Secure-ssh-tunnel-firefox-whatismyipaddress.png|800px|alt ssh tunnel firefox settings whatismyipaddress]]
  
 
Everyone should use a SSH Tunnel or a VPN when using a Private Wifi Connection!!
 
Everyone should use a SSH Tunnel or a VPN when using a Private Wifi Connection!!
 +
 +
===Additional Articles===
 +
 +
[[Install OpenSSH on Windows]]

Latest revision as of 00:06, 2 November 2013

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]

or

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 -> 127.0.0.1 using Port 9999

alt ssh tunnel firefox settings

Now if you visit the site http://whatismyipaddress.com, 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!!

Additional Articles

Install OpenSSH on Windows