Configuration Of Squid proxy in Linux server
# Configuration Of Squid proxy.
-------------------------------
# Required RPMs:
----------------
squid-2.6.STABLE6-3.el5
# Configuration Files:
----------------------
/etc/squid/squid.conf
# Required Services and Daemons:
--------------------------------
squid
# Configuration Steps:
----------------------
# Goto the configuration file
vim /etc/squid/squid.conf
0071 http_port 3128 -Can change the port no.
2394 acl all src 0.0.0.0/0.0.0.0
2395 acl raj src 192.168.150.0/24
2506 http_access allow manager localhost
2507 http_access allow raj -Put this line here only.
2508 http_access deny manager
:wq
# Turn on the services and daemons
chkconfig squid on
service squid restart
# Goto GUI and Turn on the web browser
Goto--->Firefox--->Edit--->Prefrences--->Connection Settings--->Manual proxy configuration--->
HTTP Proxy: 192.168.150.51 Port: 3128
# After doing all this click on ok.
# This configuration will allow the web access to users who are in the network range of 192.168.150.0 only.
-------------------------------
# Required RPMs:
----------------
squid-2.6.STABLE6-3.el5
# Configuration Files:
----------------------
/etc/squid/squid.conf
# Required Services and Daemons:
--------------------------------
squid
# Configuration Steps:
----------------------
# Goto the configuration file
vim /etc/squid/squid.conf
0071 http_port 3128 -Can change the port no.
2394 acl all src 0.0.0.0/0.0.0.0
2395 acl raj src 192.168.150.0/24
2506 http_access allow manager localhost
2507 http_access allow raj -Put this line here only.
2508 http_access deny manager
:wq
# Turn on the services and daemons
chkconfig squid on
service squid restart
# Goto GUI and Turn on the web browser
Goto--->Firefox--->Edit--->Prefrences--->Connection Settings--->Manual proxy configuration--->
HTTP Proxy: 192.168.150.51 Port: 3128
# After doing all this click on ok.
# This configuration will allow the web access to users who are in the network range of 192.168.150.0 only.
Comments