Squid is a Linux proxy server that allows you to cache requests to boost speed as well as allowing you to hide your real IP. This guide will cover how to set up a Squid proxy server in Ubuntu. The first step is to install squid using apt-get with the command: sudo apt-get install squid
With Squid installed you can modify the configuration file in /etc/squid/squid.conf Before being able to use the server the configuration file must be updated to allow your host. I have updated my proxy to allow access from my IP by adding the line acl our_networks src 18.104.22.168; you should replace 22.214.171.124 with your IP address. I added it to just above the line http_access allow our_networks, which I also removed the commenting of.
To enable anonymizing of your IP address you also want to uncomment the line: forwarded_for on, and change it to forwarded_for off which will make all requests through the proxy look as though it came from the proxy it self.
To test and use your proxy just check the proxy setting instructions for your web browser then set the server address to the IP address of your Ubuntu server and the port to 3128.