Install a squid proxy on ubuntu in 5 minutes

From your ubuntu machine, even a desktop machine run this command from a terminal window:

  • sudo apt-get install squid

once this is installed, edit the following file and declare your internal network:

  • vi /etc/squid/squid.conf

add these lines

The first line state your network range as a source (my current network is / Netmask


Tag: acl

  • acl my_network src
  • http_access allow my_network

Now, restart the squid deamon running the command:

service squid restart

More info on the squid settings that could be used/applied:



Leave a Reply