다중 IPv4 및 IPv6를 갖춘 Squid3 프록시

다중 IPv4 및 IPv6를 갖춘 Squid3 프록시

이 구성에서는 Squid 3.5가 IP1을 제외한 모든 IP에 응답하도록 할 수 없습니다. 문제는 여러 IP를 할당하는 방식이 아니라 IPv6 사용에 있다고 생각합니다. 그러나 테스트할 수 있는 IPv4는 하나만 있습니다.

http_port 8121
cache deny all
forwarded_for delete


acl to_ipv6 dst ipv6
http_access allow to_ipv6 !all
tcp_outgoing_address 216.144.232.42 !to_ipv6


acl ip1 myip 216.144.232.**
tcp_outgoing_address 216.144.232.** ip1
acl ip2 myip 2607:fcd0:106:3219::ad76:****
tcp_outgoing_address 2607:fcd0:106:3219::ad76:**** ip 2
acl ip3 myip 2607:fcd0:106:3219::e296:****
tcp_outgoing_address 2607:fcd0:106:3219::e296:**** ip 3


via off
auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid/passwords
auth_param basic realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_access deny all

관련 정보