[root@lan ~]#yum -y install squid
[root@lan ~]#vi /etc/squid/squid.conf
# line 919: change
http_port 8080acl CONNECT method CONNECT
# line 590: add ( allow from only LAN )
acl lan src 192.168.0.0/255.255.255.0
http_access allow localhost
# line 637: add ( allow from only LAN )
http_access allow lanhttp_access deny all
# line 3003: add ( define hostname )
visible_hostname lan.server-linux.info# forwarded_for on
# line 4275: add ( hide IP )
forwarded_for off
No comments:
Post a Comment