Have you ever had problem of not being able to access one of your favorite websites when your on public Wifi?
Have you ever needed to access something personal on public Wifi but didnt trust passing your personal information through it?
If you said yes....well I'v got some good news for you.
If you have remote access to your MediaVault you can tunnel all your web browsing through ssh.
A few Needed Things
ssh (Should be on most Linux Distros) For windows go here
If you use the windows version of ssh you only need to install the client. If ssh should fail check your firewall.
A proxy addon for Firefox called FoxyProxy
Install
If you install ssh on a windows machine, you will only need the client.
Install FoxyProxy with Firefox
If you already ssh into you vault remotely this will be cake! I will explain how to do this with Firefox.
So lets begin!
Configure Firefox
Once FoxyProxy is installed, do the following:
Open FoxyProxy in Firefox. Tools-FoxyProxy-Options
Click on the "Proxies" tab.
Highlight the Default proxy that is listed and click the "EditSelection" button
Click on the "Manual Proxy Configuration"
In the "Host Name" field enter "localhost" with out the ""
Set the port to "8080"
Place a check box in the "SOCKS proxy?"
Click "ok"
Click on the "Global Settings" Tab
Under "Miscellaneous" click on "Use SOCKS proxy for DNS lookups"
Click "Close"
Run SSH
I will be using the default ports for the proxy and ssh in this example
(To start ssh on a windows machine open a cmd and type the command below)
(If you have problems, you may need to be in the path of ssh and then execute the command below)
"cd C:\Program Files\OpenSSH\bin"
ssh -D 8080 -p 22 root@IP or URL
Note: ip is the external IP address of your router. URL would be for services like dyndns.
What the above command does is:
ssh runs ssh
-D is to set the local port (So we are setting the local port to 8080 in this example.)
-p 22 is telling ssh what port to use on the remote machine. (22 is the default port for ssh.)
If you have port forwarding on your router, you could set it to 2200 and have the router forward all traffic on that port to the vault on 22. That would make it a little more secure....kinda. With this set up your command would look like this ssh -D 8080 -p 2200 root@ip or url
Once your logged in the ssh session minimise the ssh window.
Lets test it out!
To enable your new HP MV proxy right click on "FoxyProxy" in the tray of firefox and select "Use proxy "Default" for all URLs"
To dissable the proxy right click on "FoxyProxy" in the tray of firefox and select "Completlely disable FoxyProxy"
No comments:
Post a Comment