fixyourserver.com

A lot of stuff and things…

How To: Install Squid

As usual, you should I assume I’m using a centos server…

“Squid is a 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 has extensive access controls and makes a great server accelerator.” -squid-cache.org

1) yum install squid

2) nano -w /etc/squid/squid.conf
uncomment port 3128
acl this_network src 192.168.1.0/24 192.168.2.0/24
http_access allow this_networks

3) chkconfig squid on
4) /etc/init.d/squid start

5) make sure port’s available: netstat -tulpn | grep 3128

6) iptables -A FORWARD -p tcp –dport 3128 -j ACCEPT

All set.

Next Post

Previous Post

Leave a Reply

© 2017 fixyourserver.com

Theme by Anders Norén