Introduction
Squid is a proxy server. It separates the internal network from the Internet for HTTP and FTP access. This way no user can access the Internet directly.
The official web site is not www.squid.org as may be expected, but http://www.squid-cache.org.
Squid Installation
#apt-get install squidConfiguration
The squid configuration can be found in /etc/squid/squid.conf
Configuration Sections Explained Below
General
http_port 3128icp_port 3130htcp_port 4827 cache_mem 16 MBrefresh_pattern . 0 20% 8640 hierarchy_stoplist cgi-bin ?acl QUERY urlpath_regex cgi-bin \?no_cache deny QUERY # snews 563# gopher 70# wais 210acl www_ports 80 443acl ftp_ports 21acl localhost src 127.0.0.1/32acl all src 0.0.0.0/0.0.0.0acl manager proto cache_objectacl CONNECT method CONNECTacl PURGE method PURGE http_access allow manager localhosthttp_access deny managerhttp_access allow PURGE localhosthttp_access deny PURGESpecials
acl executables url_regex [.]exe$http_access deny executables authenticate_program /usr/lib/squid/smb_auth -W DOMEIN -U SERVERacl network proxy_auth REQUIREDhttp_access allow users network cache_peer proxy1.test.net parent 3128 7 no-query defaultHTTP
acl wwwusers src 192.168.2.0/24http_access allow wwwusers www_portsFTP
ftp_user Squid@domain1.comftp_passive offacl ftpusers src 192.168.2.0/24http_access allow ftpusers ftp_portsDeny all
never_direct allow allalways_direct deny allhttp_access deny allicp_access allow allmiss_access allow all
Reference links
http://learnlinux.tsf.org.za/courses/build/electives/ch03s03.html
http://www.debian-administration.org/articles/71
http://www.debianhelp.co.uk














