]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Update IPv6 magic tcp_outgoing_address documentation
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 25 Jan 2011 02:55:02 +0000 (19:55 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 25 Jan 2011 02:55:02 +0000 (19:55 -0700)
src/cf.data.pre

index ef8fafb3a2bcc00cbfbdfc034a58f831d5678b12..60108a242384d4702a203b2c5ea12eea8d171369 100644 (file)
@@ -1765,14 +1765,18 @@ DOC_START
        an additional ACL needs to be used which ensures the IPv6-bound traffic
        is never forced or permitted out the IPv4 interface.
 
+       # IPv6 destination test along with a dummy access control to perofrm the required DNS
+       # This MUST be place before any ALLOW rules.
        acl to_ipv6 dst ipv6
-       tcp_outgoing_address 2002::c001 good_service_net to_ipv6
+       http_access deny ipv6 !all
+
+       tcp_outgoing_address 2001:db8::c001 good_service_net to_ipv6
        tcp_outgoing_address 10.1.0.2 good_service_net !to_ipv6
 
-       tcp_outgoing_address 2002::beef normal_service_net to_ipv6
+       tcp_outgoing_address 2001:db8::beef normal_service_net to_ipv6
        tcp_outgoing_address 10.1.0.1 normal_service_net !to_ipv6
 
-       tcp_outgoing_address 2002::1 to_ipv6
+       tcp_outgoing_address 2001:db8::1 to_ipv6
        tcp_outgoing_address 10.1.0.3 !to_ipv6
 
        WARNING: