- 论坛徽章:
- 0
|
1.我的網羅支持nat
2.我的bt支持代理
3.我的squid如下設置:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl kens2 src 128.3.0.102/255.255.255.255
acl allenx src 128.3.0.100/255.255.255.255
acl kens5 src 128.3.0.21/255.255.255.255
acl kens3 src 128.3.0.123/255.255.255.255
acl kens4 src 128.3.0.197/255.255.255.255
acl ming src 128.3.0.134/255.255.255.255
acl ming1 src 128.3.0.145/255.255.255.255
acl dasax src 128.3.0.105/255.255.255.255
acl hkoffice src 128.1.0.0/255.255.0.0
acl prcoffice src 128.3.0.0/255.255.255.0
acl denymine urlpath_regex "/etc/squid/badfile"
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl prc src 0.0.0.0/0.0.0.0
http_access allow kens2
http_access allow allenx
http_access allow kens3
http_access allow kens4
http_access allow kens5
http_access allow ming
http_access allow ming1
http_access allow hkoffice
http_access allow dasax
#http_access deny denymine
#http_access allow prcoffice
http_access allow localhost
http_access allow all
沒有改的設置就不用貼了吧.不知道貼出這些以後對兄臺們有甚麼啟示?
當一個問題答不出來或者不想作答了,有的人就會說,你的问题没有描述清楚,要根據各種情況來!
試問,如果你能將各種情況的解決方法都闡述出來,而不是推諉,是不是更好呢?
笑... ... |
|