Mini-Howto: Setup proxy on Ubuntu

A quick and dirty mini-howto to setup a proxy on Ubuntu. This is meant mostly for doing quick setup of a proxy on a cloud environment.

logo-ubuntu_su-orange-hex

  1. Install Squid with the following command at the Linux command prompt: sudo apt-get install squid
  2. Edit the Squid config file in /etc/squid adding these lines: http_access allow local_net acl local_net src 10.10.0.0/255.255.0.0
  3. Save the file, exit the editor and restart Squid. You are now ready to configure your browser to use the proxy server.
  4. Click "Tools," "Options," "Advanced," "Network" and "Settings" in Firefox, which is the normal Ubuntu Linux browser. Select "Manual Proxy Configuration," enter the IP address of your proxy server, enter port 3128 in the Port field and then click "OK."

References: