I only do this because Ryan was having a problem with some websites showing up from behind our firewall. So the overall procedure involves running a web proxy on a machine outside the firewall, then using OpenSSH to portmap the proxy's port to our local machine through the firewall and finally pointing our browser to the local port to use as a proxy server.
Now, we would just setup the proxy on the remote machine, and then just connect to it via our browser, but the firewall we are behind only allows a few ports to go through.. http(80), ssh(22) so we need to use the port forwarding trick we covered in Meeting 10, but first things first.
To setup the proxy on the outside machine, we just us the command
apt-get install tinyproxyif you're on Debian or a Debian based system. If not, use your distros package manager to install the tinyproxy package or compile it from the source here. Next, you need to edit the tinyproxy config file (/etc/tinyproxy/tinyproxy.conf) to your liking. As for myself, I only change the number of servers to start and the min and max spare servers to keep down on my memory usage since only a handful of people will even use this thing.
MinSpareServers 2 MaxSpareServers 10 StartServers 2Now, you start the tinyproxy service with
/etc/init.d/tinyproxy startNow you should have a proxy server running on port 8080.
![[logo]](logo.png)