· 7 years ago · Oct 28, 2018, 11:10 AM
1
2http_port 3128 transparent
3http_port 8080
4http_port 80
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
64
65acl localnet src 192.168.0.0/16
66acl localnet src 172.16.0.0/12
67acl localnet src 10.0.0.0/8
68
69acl deny_sony dstdomain "/etc/squid/sony-domains.txt"
70
71acl allowed_hosts dstdomain .youtube.com .ytimg.com .doubleclick.net .googlevideo.com
72acl allowed_hosts dstdomain .twitter.com
73acl allowed_hosts dstdomain .google.com
74acl allowed_hosts dstdomain .facebook.com
75acl allowed_hosts dstdomain .viber.com
76acl allowed_hosts dstdomain .softether.net
77acl allowed_hosts dstdomain .gmail.com .flickr.com .yimg.com .digg.com .fbcdn.net .doubleclick.net .googlevideo.com .amazonaws.com .1e100.net
78acl allowed_hosts dstdomain .cmru.info .team28devs.com
79
80acl allowed_ip dst 127.0.0.0/8
81acl allowed_ip dst 178.128.65.145
82
83acl CONNECT method CONNECT
84http_access allow localhost manager
85http_access allow localhost
86http_access allow localnet
87http_access allow localnet CONNECT
88http_access allow all CONNECT allowed_hosts
89http_access allow all allowed_hosts
90http_access allow all allowed_ip
91http_access allow all CONNECT allowed_ip
92http_access deny !Safe_ports
93http_access deny CONNECT !SSL_ports
94http_access deny manager
95http_access deny all
96http_port 0.0.0.0:3128
97
98coredump_dir /var/spool/squid