Proxy server is a server configured to accelerate the web by a mechanism called caching i.e storing previously viewed pages locally.Ensure that ip forwarding is enabled .
#vi /etc/sysctl.confnet.ipv4.ip_forward=1
#service network restart#sysctl -p
Proxy server is a server configured to accelerate the web by a mechanism called caching i.e storing previously viewed pages locally.
Service Profile:
Daemon : squid
Type : Standalone
Script : squid
Port : 3128 (default)
Configuration File : /etc/squid/squid.conf
Log File : /var/log/squid/{error.log,cache.log,access.log}
Packages: #rpm -q squid
Configurations for proxy server
# vi /etc/squid/squid.conf/
http_access----search (n -- next )
http_access deny all ( replace deny with allow )(Insert Your OWN RULES HERE )
acl mynet src 192.168.0.0/24
acl mynet srcdomain .mydomain.com
acl blocked dstdomain .unwantedsite.com
http_access deny blocked
http_access allow mynet
http_access deny all
#service squid start
#chkconfig squid on
( The above written is an ordered list which means execute on first match )Cache DIR /var/spool/squid (Default , it can be changed )
Friday, May 11, 2007
Subscribe to:
Post Comments (Atom)
1 comment:
Nice Post, i need more details in installation of squid and trasperent proxy configuration and qmail configuration so please post it.
Post a Comment