Friday, December 25, 2009

[Linux]Squid--便捷的Proxy Server

unbuntu下安装squid
sudo apt-get install squid
接着对/etc/squid/squid.conf作如下修改
http_port 8888   #设定proxy的端口为8888
acl homenet src 98.219.0.0/16     #把访问proxy的机器的网段设为homenet
http_access allow homenet         #所有从homenet定义的网段的访问许可设为允许

No comments: