Configure Squid Proxy Server in Rhel5 squid.conf file

System1: How to config Squid proxy in Red hat Rhel5
Step 1:
install ,configure and start the httpd service
install squid packages
#yum install squid
Step 2: Redhat Linux
edit squid.conf file
#vim /etc/squid/squid.conf
Line no:73
http_port 1324
Line no:2395 add the following entries
acl sample src 192.168.0.1
acl enemy src 192.168.0.11
Line no:2505 add the entries
http_access allow sample
http_access deny enemy
Step 3: Red Hat Linux Configuration
start the squid service
#chkconfig squid on
#service squid start
sys1:
Step 4:
open firefox click edit >
preferences >
connection settings
choose manual proxy configuration
http proxy:192.168.0.10 port:1324
click ok and type the url in address bar
http://system1.leena.com.
sys11
Step 5:
open firefox click edit >
preferences >
connection settings
choose manual proxy configuration
http proxy:192.168.0.10 port:1324
click ok and type the url in address bar
http://system1.leena.com.
Config Squid proxy in squid.conf file successfully Redhat RHCE RHCT Linux.

Related post