## CentreCOM AR415S 設定例集 2.9 ## 120 トンネリングによるIPv6インターネット接続(専用線環境) ## ルーターのコンフィグ SET BRI=0 MODE=TDM ACTIVATION=ALWAYS TDMSLOTS=1-2 CREATE TDM GROUP=ISP INT=bri0 SLOTS=1-2 CREATE PPP=0 OVER=TDM-ISP LQR=OFF ENABLE IP ADD IP INT=eth0 IP=4.4.4.1 MASK=255.255.255.248 ADD IP INT=vlan1 IP=192.168.10.1 MASK=255.255.255.0 ADD IP INT=ppp0 IP=0.0.0.0 ADD IP ROUTE=0.0.0.0 INT=ppp0 NEXTHOP=0.0.0.0 ENABLE FIREWALL CREATE FIREWALL POLICY=net ENABLE FIREWALL POLICY=net LOG=DENY ENABLE FIREWALL POLICY=net ICMP_F=PING,UNREACHABLE DISABLE FIREWALL POLICY=net IDENTPROXY ADD FIREWALL POLICY=net INT=eth0 TYPE=PRIVATE 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 GBLIP=4.4.4.1 ADD FIREWALL POLICY=net RULE=1 AC=ALLOW INT=ppp0 PROTO=TCP IP=4.4.4.2 PORT=80 ADD FIREWALL POLICY=net RULE=2 AC=ALLOW INT=ppp0 PROTO=TCP IP=4.4.4.3 PORT=25 ADD FIREWALL POLICY=net RULE=3 AC=ALLOW INT=ppp0 PROTO=TCP IP=4.4.4.4 PORT=53 ADD FIREWALL POLICY=net RULE=4 AC=ALLOW INT=ppp0 PROTO=UDP IP=4.4.4.4 PORT=53 ADD FIREWALL POLICY=net RULE=5 AC=ALLOW INT=ppp0 PROTO=41 IP=4.4.4.1 GBLIP=4.4.4.1 REMOTEIP=1.2.3.4 ENABLE IPV6 ADD IPV6 INT=eth0 IP=3ffe:1:1:1::1/64 PUBLISH=YES ADD IPV6 INT=vlan1 IP=3ffe:1:1:2::1/64 PUBLISH=YES ENABLE IPV6 ADVERTISE ADD IPV6 TUNNEL LOCAL=4.4.4.1 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=3ffe:1:1:1::2/128 PROTO=TCP DPORT=80 ADD IPV6 FILTER=1 SOURCE=:: ACTION=INCLUDE SET IPV6 FILTER=1 ENTRY=4 DEST=3ffe:1:1:1::3/128 PROTO=TCP DPORT=25 ADD IPV6 FILTER=1 SOURCE=:: ACTION=INCLUDE SET IPV6 FILTER=1 ENTRY=5 DEST=3ffe:1:1:1::4/128 PROTO=UDP DPORT=53 ADD IPV6 FILTER=1 SOURCE=:: ACTION=INCLUDE SET IPV6 FILTER=1 ENTRY=6 DEST=3ffe:1:1:1::4/128 PROTO=TCP DPORT=53 ADD IPV6 FILTER=1 SOURCE=:: ACTION=INCLUDE SET IPV6 FILTER=1 ENTRY=7 DEST=:: PROTO=ICMP ICMPTYPE=ANY ICMPCODE=ANY SET IPV6 INT=virt0 FILTER=1