· 8 years ago · Jun 04, 2018, 12:30 AM
1http_port 3128 transparent
2http_port 8080
3http_port 80
4http_port 53
5cache deny all
6
7forwarded_for off
8
9request_header_access Allow allow all
10request_header_access Authorization allow all
11request_header_access WWW-Authenticate allow all
12request_header_access Proxy-Authorization allow all
13request_header_access Proxy-Authenticate allow all
14request_header_access Cache-Control allow all
15request_header_access Content-Encoding allow all
16request_header_access Content-Length allow all
17request_header_access Content-Type allow all
18request_header_access Date allow all
19request_header_access Expires allow all
20request_header_access Host allow all
21request_header_access If-Modified-Since allow all
22request_header_access Last-Modified allow all
23request_header_access Location allow all
24request_header_access Pragma allow all
25request_header_access Accept allow all
26request_header_access Accept-Charset allow all
27request_header_access Accept-Encoding allow all
28request_header_access Accept-Language allow all
29request_header_access Content-Language allow all
30request_header_access Mime-Version allow all
31request_header_access Retry-After allow all
32request_header_access Title allow all
33request_header_access Connection allow all
34request_header_access Proxy-Connection allow all
35request_header_access User-Agent allow all
36request_header_access Cookie allow all
37request_header_access All deny all
38
39acl SSL_ports port 443
40acl SSL_ports port 22
41acl SSL_ports port 80
42acl SSL_ports port 8080
43acl SSL_ports port 992
44acl SSL_ports port 1194
45acl SSL_ports port 995
46acl SSL_ports port 5555
47acl Safe_ports port 80 # http
48acl Safe_ports port 8080 # http-alt
49acl Safe_ports port 21 # ftp
50acl Safe_ports port 22 # ssh
51acl Safe_ports port 443 # https
52acl Safe_ports port 70 # gopher
53acl Safe_ports port 210 # wais
54acl Safe_ports port 1025-65535 # unregistered ports
55acl Safe_ports port 280 # http-mgmt
56acl Safe_ports port 488 # gss-http
57acl Safe_ports port 591 # filemaker
58acl Safe_ports port 777 # multiling http
59acl Safe_ports port 3128
60acl Safe_ports port 992
61acl Safe_ports port 995
62acl Safe_ports port 5555
63acl Safe_ports port 1194
64acl Safe_ports port 53
65
66acl localnet src 192.168.0.0/16
67acl localnet src 172.16.0.0/12
68acl localnet src 10.0.0.0/8
69
70acl deny_sony dstdomain "/etc/squid/sony-domains.txt"
71
72acl allowed_hosts dstdomain .youtube.com .ytimg.com .doubleclick.net .googlevideo.com
73acl allowed_hosts dstdomain .twitter.com
74acl allowed_hosts dstdomain .google.com
75acl allowed_hosts dstdomain .facebook.com
76acl allowed_hosts dstdomain .viber.com
77acl allowed_hosts dstdomain .softether.net
78acl allowed_hosts dstdomain .gmail.com .flickr.com .yimg.com .digg.com .fbcdn.net .doubleclick.net .googlevideo.com .amazonaws.com .1e100.net
79acl allowed_hosts dstdomain .cmru.info .team28devs.com
80
81acl allowed_ip dst 127.0.0.0/8
82acl allowed_ip dst VPS.IP
83
84acl CONNECT method CONNECT
85http_access allow localhost manager
86http_access allow localhost
87http_access allow localnet
88http_access allow localnet CONNECT
89http_access allow all CONNECT allowed_hosts
90http_access allow all allowed_hosts
91http_access allow all allowed_ip
92http_access allow all CONNECT allowed_ip
93http_access deny !Safe_ports
94http_access deny CONNECT !SSL_ports
95http_access deny manager
96http_access deny all
97
98coredump_dir /var/spool/squid