SSH HTTP traffic using a proxy
If you're at work or somewhere with a restricted network, restricting sites you can visit, do the following:
On your machine at home, or outside the network, install squid:
apt-get install squid
Modify the config file:
sudo vim /etc/squid/squid.conf
And enter your visible host name. (Search for visible_hostname)
In my case: trapped
Start squid:
sudo /etc/init.d/squid restart
Now on your local machine (ie. at work) using something like PuTTY, connect to your home machine and port forward 3128 to localhost:3128
Finally, in Firefox set your proxy server settings to point to localhost:3128
A voila!
Note: Your DNS queries will still be performed within the network, but in Firefox you can set the following in about:config
network.proxy.socks_remote_dns = true
On your machine at home, or outside the network, install squid:
apt-get install squid
Modify the config file:
sudo vim /etc/squid/squid.conf
And enter your visible host name. (Search for visible_hostname)
In my case: trapped
Start squid:
sudo /etc/init.d/squid restart
Now on your local machine (ie. at work) using something like PuTTY, connect to your home machine and port forward 3128 to localhost:3128
Finally, in Firefox set your proxy server settings to point to localhost:3128
A voila!
Note: Your DNS queries will still be performed within the network, but in Firefox you can set the following in about:config
network.proxy.socks_remote_dns = true