## CentreCOM AR415S 設定例集 2.9 ## 121 トンネリングによるIPv6インターネット接続(PPPoEアドレス1個固定環境) ## ルーターのコンフィグ CREATE PPP=0 OVER=eth0-ANY SET PPP=0 OVER=eth0-ANY USER=user@isp PASSWORD=isppasswd LQR=OFF BAP=OFF ECHO=ON ENABLE IP ADD IP INT=vlan1 IP=192.168.10.1 MASK=255.255.255.0 ADD IP INT=ppp0 IP=12.34.56.78 MASK=255.255.255.255 ADD IP ROUTE=0.0.0.0 INT=ppp0 NEXTHOP=0.0.0.0 ENABLE FIREWALL CREATE FIREWALL POLICY=net ENABLE FIREWALL POLICY=net ICMP_F=PING,UNREACH DISABLE FIREWALL POLICY=net IDENTPROXY ADD FIREWALL POLICY=net INT=vlan1 TYPE=PRIVATE ADD FIREWALL POLICY=net INT=ppp0 TYPE=PUBLIC ADD FIREWALL POLICY=net NAT=ENHANCED INT=vlan1 GBLINT=ppp0 ADD FIREWALL POLICY=net RULE=1 AC=ALLOW INT=ppp0 PROTO=41 IP=12.34.56.78 GBLIP=12.34.56.78 REMOTEIP=1.2.3.4 ENABLE IPV6 ADD IPV6 INT=vlan1 IP=3ffe:1:1:1::1/64 PUBLISH=YES ENABLE IPV6 ADVERTISE ADD IPV6 TUNNEL LOCAL=12.34.56.78 TARGET=1.2.3.4 ADD IPV6 ROUTE=::/0 INT=virt0 NEXT=:: ADD IPV6 FILTER=1 SOURCE=:: ACTION=INCLUDE SET IPV6 FILTER=1 ENTRY=1 DEST=3ffe:1:1::/48 PROTO=TCP SESS=ESTABLISHED ADD IPV6 FILTER=1 SOURCE=:: ACTION=INCLUDE SET IPV6 FILTER=1 ENTRY=2 DEST=3ffe:1:1::/48 PROTO=UDP SPORT=53 ADD IPV6 FILTER=1 SOURCE=:: ACTION=INCLUDE SET IPV6 FILTER=1 ENTRY=3 DEST=:: PROTO=ICMP ICMPTYPE=ANY ICMPCODE=ANY SET IPV6 INT=virt0 FILTER=1