Things You'll Need:
- IP subnet information for the internal network that will be accessing squid
-
Step 1
The installation instructions depend on the operating system. For the popular Red Hat based Linux distributions, the command to install is "yum install squid".
-
Step 2
Add the IP subnet to squid's acl (access control list) by editing /etc/squid/squid.conf. For example, to include the 192.168.1.0 subnet as part of acl list "mynetwork", the command inside squid.conf is "acl mynetwork src 192.168.1.0/255.255.255.0".
-
Step 3
Allow the acl list to be used by the squid proxy server. The command to allow acl list "myaccess" to use the squid proxy server is "http_access allow mynetwork".
-
Step 4
Define the port to be used by squid. The default port is 3128. To change the default port to 2999, the command is "http_port 2999".
-
Step 5
Start squid. The command to start squid is "/etc/rc.d/init.d/squid start".
-
Step 6
Test squid by configuring a web browser to use the squid proxy server. If it does not work, make sure the browser has the correct port and IP address for the squid proxy server.














