Squid is an open source caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid also has extensive access controls and makes a great server accelerator. This article will show you how to install and configure the Squid Proxy Server in RHEL/CentOS 5.
How to install Linux
You can use either Red Hat Enterprise Linux 5 or CentOS 5. RHEL 5 can be purchased from Red Hat and comes with support. CentOS 5 on the other hand can be downloaded here.
How to setup the Squid Proxy Server
The Server - GUI installation already include Squid so all we have to do is start the Squid service and open the Squid port in the firewall.

1. Edit the Squid configuration file /etc/squid/squid.conf. See a sample squid.conf. Learn more about the Squid Access Control List (ACL).
2. Start the squid service. Learn how to start services.
3. Squid listens on the port 3128 so this should be opened in the firewall. Learn how to configure the firewall.
4. Configure your browser to use Squid. If you hit any of the deny rules, you should see a Squid error message.How to integrate Active Directory
You can use you Active Directory user accounts for authenticating in Squid. You can also the Active Directory groups to group the access control in Squid. This section describes how to use Samba to integrate Active Directory into Squid.
How to generate analysis reports
To generate analysis report for Squid, we are going to use the Squid Analysis Report Generator (SARG) and Webmin. Webmin will make it easier to manage SARG.
***
Posted on 11/15/2008 and last updated on 11/15/2008
Filed under Squid Proxy Server
Share This




