|
Are you behind a firewall ? Cannot get some downloads because the firewall prevents/blocks them. Want to hide your site access from the prying eyes of the network admin ? All you need to do is to create a SSH tunnel, from your local machine, to a host outside. This tunnel will be encrypted, and secure.
Web Browsing via a tunnel: This describes a tunnel from a linux client to a linux host. You can do this easy from windows client to linux hosts, or windows to windows etc etc. All you need is a proxy, and ssh. Putty works well on windows. The remote host: (requirements) You must have squid running on the remote host (or any proxy type software). Squid uses port 3128 for access, so this is the port we will forward.
You must have ssh logon to the remote host. SSH server on remote host must be accesseble to you. I am lucky, ssh is allowed to go out our network. If you are not, then just run the ssh server on your remote host on port 80, or 443. (or any other port that is allowed out by your firewall.) Your local machine (inside the firewall): ssh -L 3128:127.0.0.1:3128 <remote_user>@<remote server>
What this will do if forward you local port 3128, to the remote server port 3128, via your ssh logon tunnel. The effect will be that your local machine will think that squid is running locally. All you need to do now is setup your browser to use localhost (127.0.0.1) on port 3128 as the proxy server, and you will be able to browse the net via your remote server. The method above shows the basic principle. You can forward any port from you local machine to the remote (Mysql, msn etc tec)
|