Security
Security How To
How To Securely Web Browse via an SSH Tunnel | How To Securely Web Browse via an SSH Tunnel |
|
|
| Brandon Hogue | |
| March 25, 2008 | |
Browser SetupYour client is set up! Now for the browser. As I stated earlier, I'm using Firefox. However this technique will work with anything you wish to mask. I even use it for remote desktop connections, effectively giving you your own VPN. In Firefox, go to Tools > Options > Advanced> Network, then click the Settings button under connections.
Figure 3: Firefox Network SettingsFrom here, select Manual Proxy Configuration, then under SOCKS Host enter an IP address of 127.0.0.1 and the port number you entered earlier in PuTTy (8080 in this example). In the No Proxy for box, enter localhost, 127.0.0.1. I use both since some OS's have different addresses for the loopback. However, localhost is the standard name in most cases. Select the SOCKS V4 radio button. V5 might also work, but I've never tried it. Click OK.
Figure 4: Completed Firefox Network Connection SettingsNow enter about:config into Firefox. Enter network.proxy.socks_remote_dns as the filter and double click on the parameter to change the value to true. This will use your SSH connection's DNS, and not the one you're currently connected to. Even when using the tunneled connection, your browser would normally be using the local DNS server. Using the remote, tunneled DNS server removes the risk of someone looking on the DNS server to see the web pages you're viewing. You're now done! You should be browsing the web using your SSH server. Remember you have to stay connected for this to work. If your shell connection drops, you will lose your Internet access connection in that browser. As I stated before, this can be used for anything that lets you set a Proxy to connect to the Internet (which is almost everything these days). Most of the settings look the same as the ones above in Firefox. Just make sure to specify a SOCKS proxy. Happy secure surfing! Related Articles:How To Back Up Offsite for Free with rsyncA DIY SSL VPN with SSL-Explorer - Part 1 How To: Fixing DNS problems A DIY SSL VPN with SSL-Explorer - Part 2 How To Securely Browse from Anywhere using Hamachi and Squid |
|
Question about changing ISPs and the Equipment
Will I have to reformat to create a RAID-1 mirror?
Polycom Soundpoint IP550/IP650 Review
FreeNAS NTFS Mount Problem
Router choice: Linksys WRT110 vs D-Link DIR-655
|
|
|
|
|
|
|
|
More |
|
You could win a Belkin N+ Wireless Router and N+ Wireless USB Network Adapter |
| Wireless Performance Charts: Belkin N+ Wireless Router |
| Router Performance Charts: Belkin N+ Wireless Router |
|
CES 2009: Motorola offering a phone made of recycled plastic bottles CES2009: HP claims new netbook gets 8 hours use per charge CES 2009: AVN4430 in-dash unit includes detachable GPS device |