Posts

Showing posts from November, 2011

Install Squid Proxy on Ubuntu Server Ubuntu 10.04.3 LTS

I decided that I need the ability to host a proxy server on my own network to see what the internet looked like from my house when I was at work.

I tired to setup an Apache forward proxy using mod_proxy, but had issues with SSL requests not working correctly. I have used a squid proxy on my home network for local caching via my firewall machine for years. Squid has always been reliable.

The process to install squid is quite simple in Ubuntu lucid:
Open a terminal or SSH into your lucid Ubuntu Server.Install squid proxy using apt-get at the command line.sudo apt-get install squidEdit the configuration file. The configuration file for squid is huge. It's a very configurable proxy. I decided to make a backup, just in case I messed something up in the configuration.sudo cp /etc/squid/squid.conf etc/squid/squid.conf.originalUse nano (my favorite command line editor) to edit the configuration file.  Understanding what I needed for a simple http proxy, I needed to make only make one edit …