|
发表于 2003-5-20 23:22:35
|
显示全部楼层
编辑/etc/squid/squid.conf,改为如下:
# TAG: http_port
#Default:
http_port 192.168.8.1:3128
cache_mem 42 MB
cache_dir aufs /var/spool/squid/cache 3000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
#dns_nameservers 192.168.8.168
acl oy src 192.168.8.88 (改成你想代理的win机)
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl ssl_ports port 443 563
acl safe_ports port 80 21 443 563 70 210 1025-65535
acl connect method CONNECT
http_access allow manager oy( 对应上面的)
#http_access deny manager
http_access deny !safe_ports
http_access allow all
icp_access allow all
miss_access allow all
这样只能代理看网页和下载软件,其它我不是很会!
我还在学iptables !希望会的指教下啊!我希望找到有关iptables的参数的用法那样的资料 |
|