Anonymous browsing from the office
tools
,
network
,
ssh
Jose Luis Canciani (josecanciani at Twitter)
I have some webpages I usually access from my office computer that I don't want to show in the company's access logs (don't think bad, usually it's just pages that are blocked becouse of the url words which are banned from the company's proxy).
This is a quick howto to bypass the proxy.
This article assumes you are able to do outgoing connections to a home server using an ssh port. If you don't, you can still manage to do it through your company's proxy if you setup your ssh daemon to listen to the 443 port. Usually the 443 port of the corporate's proxys are allowed to make permanent connections. Give it a try, it worked for me in my previous job (Putty program let's you use proxy servers).
I'm using Gentoo at home, so I just installed tinyproxy (emerge tinyproxy) and then edit /etc/tinyproxy/tinyproxy.conf and set the daemon to listen only to the internal interface. That will save us some time configuring access rules in the proxy.
Port 8888 Listen 127.0.0.1 Bind 127.0.0.1
Now start the server (/etc/init.d/tinyproxy start).
So now we have Tinyproxy listening to port 8888 on the loopback interface. All we have to do know is connect from your office pc with ssh and do a port fowarding of your local 8888 port to your home's box 8888 port on the local interface. It should look something like this (with openssh):
ssh -L 8888:localhost:8888 user@homebox
With Putty you set port fowarding in Connection -> SSH -> Tunnels: Source port: 8888, Destination: localhost:8888 and press Add. Once connected you should have you office pc's 8888 port fowarding to Tinyproxy. Now you just have to configure your browser to use a proxy server at localhost:8888. Firefox has several extensions for changing the proxy server from a tool bar bottom (for example xyzproxy).
That's it, you are know browsing anonymously (well, at least in your company, since you will be showing your home IP address to the sites you visit).
You can repeat this procedure using an anonymous proxy on the internet if you want full anonymity (is that a word??).
Happy browsing!
Jose.

Aún no hay comentarios. Se el primero en hacerlo!