No771 IPv6対応のSquid(続き)
最新情報をお届けします。
昨日の設定では、SquidはIPv4を優先して見に行きます。
IPv6を優先してみるためには、次の設定が必要です。
/usr/local/squid/etc/squid.conf
acl to_ipv6 dst ipv6
http_access deny to_ipv6 !all
tcp_outgoing_address xxx.xxx.xxx.xxx !to_ipv6
tcp_outgoing_address yyyy:yy:yy:yy::yy:yy to_ipv6
xxx.xxx.xxx.xxxは、Squidサーバ自体のIPv4アドレス
yyyy:yy:yy:yy::yy:yyは、Squidサーバ自体のIPv6アドレス
これで、The Kame Project http://www.kame.net/ をみると
踊るカメを見ることができます。
最新情報をお届けします。
昨日の設定では、SquidはIPv4を優先して見に行きます。
IPv6を優先してみるためには、次の設定が必要です。
/usr/local/squid/etc/squid.conf
acl to_ipv6 dst ipv6
http_access deny to_ipv6 !all
tcp_outgoing_address xxx.xxx.xxx.xxx !to_ipv6
tcp_outgoing_address yyyy:yy:yy:yy::yy:yy to_ipv6
xxx.xxx.xxx.xxxは、Squidサーバ自体のIPv4アドレス
yyyy:yy:yy:yy::yy:yyは、Squidサーバ自体のIPv6アドレス
これで、The Kame Project http://www.kame.net/ をみると
踊るカメを見ることができます。