The squid proxy server is very easy to install and configure. All squid needs to run is the range of IP addresses that are allowed to use the proxy server and the port that the squid proxy server is listening on. After that, browsers allowed to use the squid proxy server will be able to surf the Internet through the squid proxy server.
Things You'll Need
- IP subnet information for the internal network that will be accessing squid
The installation instructions depend on the operating system. For the popular Red Hat based Linux distributions, the command to install is "yum install squid".
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".
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".
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".
Start squid. The command to start squid is "/etc/rc.d/init.d/squid start".
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.
Tips & Warnings
- Do not enable access to everybody. Otherwise, unscrupulous hackers will use the squid proxy server to hide their activities and use up your bandwidth.
- Photo Credit plex
How to Configure a Proxy
The proxy server acts as a negotiator between a client machine and a main server. In some cases, the proxy server will...
How to Enable SSL Squid
Squid is an open-source proxy and Web-caching server. Squid sits between a computer and the Internet, forwarding traffic, and can be used...
How to Test a Squid Proxy
The Squid proxy server is a Web caching and content restriction proxy server designed to speed the delivery of Web content by...
How to Build a Proxy Server
A proxy server is a remote or local server that you can use to act as a "middleman" for your Internet traffic....