Skip to content

Commit

Permalink
Up
Browse files Browse the repository at this point in the history
  • Loading branch information
hungnguyenhp committed Feb 17, 2021
1 parent a241dc3 commit 6dafca9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gen_squid.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def add_ipv6(num_ips, unique_ip=1):
# follow_x_forwarded_for deny all
# See below
request_header_access X-Forwarded-For deny all
request_header_access X-Forwarded-For allow all
request_header_access Authorization allow all
request_header_access Proxy-Authorization allow all
Expand All @@ -114,12 +114,12 @@ def add_ipv6(num_ips, unique_ip=1):
request_header_access Accept-Encoding allow all
request_header_access Accept-Language allow all
request_header_access Connection allow all
request_header_access All deny all
request_header_access All allow all
cache deny all
cache allow all
acl to_ipv6 dst ipv6
http_access deny all !to_ipv6
# http_access deny all !to_ipv6
acl allow_net src 2602:fed2:fa0:3c::/64
{squid_conf_suffix}
{squid_conf_refresh}
Expand Down

0 comments on commit 6dafca9

Please sign in to comment.