Wednesday, April 27, 2011

Install Squid

AutoMySQLBackup Setup proxy server and web browzing fast.You need to install squid.

[root@lan ~]#yum -y install squid

[root@lan ~]#vi /etc/squid/squid.conf

# line 919: change
http_port 8080

acl 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 lan
http_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