# # フレッツ・VPNワイド(端末型払い出し) + IPIPを使用したVPN拠点間接続(2拠点) + インターネット接続 + ひかり電話 : NVR500 Web GUI設定 # # # 拠点1 NVR500(1) # ip route default gateway pp 1 filter 500000 gateway pp 1 ip route (10.10.2.0/24) gateway pp 2 ip route 192.168.2.0/24 gateway tunnel 1 ip keepalive 1 icmp-echo 10 6 (10.10.2.1) ipv6 route default gateway dhcp lan2 ipv6 prefix 1 dhcp-prefix@lan2::/64 ip lan1 address 192.168.1.1/24 ipv6 lan1 address dhcp-prefix@lan2::1/64 ipv6 lan1 rtadv send 1 ip lan2 address dhcp ipv6 lan2 address dhcp ipv6 lan2 dhcp service client ngn type lan2 ntt provider type isdn-terminal provider filter routing connection provider lan1 name LAN: provider lan2 name PPPoE/0/4/5/0/0/0:flets_service pp select 1 pp name PRV/1/1/5/0/0/0:PPPoE pp keepalive interval 30 retry-interval=30 count=12 pp always-on on pppoe use lan2 pppoe auto disconnect off pppoe call prohibit auth-error count off pp auth accept pap chap pp auth myname (ISPに接続するID) (ISPに接続するパスワード) ppp lcp mru on 1454 ppp ipcp ipaddress on ppp ipcp msext on ppp ccp type none ip pp secure filter in 200003 200020 200021 200022 200023 200024 200025 200030 200032 ip pp secure filter out 200013 200020 200021 200022 200023 200024 200025 200026 200027 200099 dynamic 200080 200081 200082 200083 200084 200085 200098 200099 ip pp nat descriptor 1000 pp enable 1 provider set 1 PPPoE provider dns server pp 1 1 provider select 1 pp select 2 pp name PRV/2/4/5/0/0/0:flets_service pp keepalive interval 30 retry-interval=30 count=12 pp always-on on pppoe use lan2 pppoe auto disconnect off pppoe call prohibit auth-error count off pp auth accept pap chap pp auth myname (フレッツ・VPNワイドに接続するID) (フレッツ・VPNワイドに接続するパスワード) ppp lcp mru on 1454 ppp ipcp ipaddress on ppp ccp type none ip pp secure filter in 201003 201020 201021 201022 201023 201024 201025 201030 201032 201080 ip pp secure filter out 201013 201020 201021 201022 201023 201024 201025 201026 201027 201099 dynamic 201080 201081 201082 201083 201084 201085 201098 201099 ip pp nat descriptor 1100 pp enable 2 provider set 2 flets_service provider pp bind 2 1 tunnel select 1 tunnel name ipip tunnel endpoint address (10.10.2.1) ip tunnel tcp mss limit auto tunnel enable 1 ip filter 200000 reject 10.0.0.0/8 * * * * ip filter 200001 reject 172.16.0.0/12 * * * * ip filter 200002 reject 192.168.0.0/16 * * * * ip filter 200003 reject 192.168.1.0/24 * * * * ip filter 200010 reject * 10.0.0.0/8 * * * ip filter 200011 reject * 172.16.0.0/12 * * * ip filter 200012 reject * 192.168.0.0/16 * * * ip filter 200013 reject * 192.168.1.0/24 * * * ip filter 200020 reject * * udp,tcp 135 * ip filter 200021 reject * * udp,tcp * 135 ip filter 200022 reject * * udp,tcp netbios_ns-netbios_ssn * ip filter 200023 reject * * udp,tcp * netbios_ns-netbios_ssn ip filter 200024 reject * * udp,tcp 445 * ip filter 200025 reject * * udp,tcp * 445 ip filter 200026 restrict * * tcpfin * www,21,nntp ip filter 200027 restrict * * tcprst * www,21,nntp ip filter 200030 pass * 192.168.1.0/24 icmp * * ip filter 200031 pass * 192.168.1.0/24 established * * ip filter 200032 pass * 192.168.1.0/24 tcp * ident ip filter 200033 pass * 192.168.1.0/24 tcp ftpdata * ip filter 200034 pass * 192.168.1.0/24 tcp,udp * domain ip filter 200035 pass * 192.168.1.0/24 udp domain * ip filter 200036 pass * 192.168.1.0/24 udp * ntp ip filter 200037 pass * 192.168.1.0/24 udp ntp * ip filter 200098 reject-nolog * * established ip filter 200099 pass * * * * * ip filter 201000 reject 10.0.0.0/8 * * * * ip filter 201001 reject 172.16.0.0/12 * * * * ip filter 201002 reject 192.168.0.0/16 * * * * ip filter 201003 reject 192.168.1.0/24 * * * * ip filter 201010 reject * 10.0.0.0/8 * * * ip filter 201011 reject * 172.16.0.0/12 * * * ip filter 201012 reject * 192.168.0.0/16 * * * ip filter 201013 reject * 192.168.1.0/24 * * * ip filter 201020 reject * * udp,tcp 135 * ip filter 201021 reject * * udp,tcp * 135 ip filter 201022 reject * * udp,tcp netbios_ns-netbios_ssn * ip filter 201023 reject * * udp,tcp * netbios_ns-netbios_ssn ip filter 201024 reject * * udp,tcp 445 * ip filter 201025 reject * * udp,tcp * 445 ip filter 201026 restrict * * tcpfin * www,21,nntp ip filter 201027 restrict * * tcprst * www,21,nntp ip filter 201030 pass * 192.168.1.0/24 icmp * * ip filter 201031 pass * 192.168.1.0/24 established * * ip filter 201032 pass * 192.168.1.0/24 tcp * ident ip filter 201033 pass * 192.168.1.0/24 tcp ftpdata * ip filter 201034 pass * 192.168.1.0/24 tcp,udp * domain ip filter 201035 pass * 192.168.1.0/24 udp domain * ip filter 201036 pass * 192.168.1.0/24 udp * ntp ip filter 201037 pass * 192.168.1.0/24 udp ntp * ip filter 201080 pass * 192.168.1.1 4 * * ip filter 201098 reject-nolog * * established ip filter 201099 pass * * * * * ip filter 500000 restrict * * * * * ip filter dynamic 200080 * * ftp ip filter dynamic 200081 * * domain ip filter dynamic 200082 * * www ip filter dynamic 200083 * * smtp ip filter dynamic 200084 * * pop3 ip filter dynamic 200085 * * submission ip filter dynamic 200098 * * tcp ip filter dynamic 200099 * * udp ip filter dynamic 201080 * * ftp ip filter dynamic 201081 * * domain ip filter dynamic 201082 * * www ip filter dynamic 201083 * * smtp ip filter dynamic 201084 * * pop3 ip filter dynamic 201085 * * submission ip filter dynamic 201098 * * tcp ip filter dynamic 201099 * * udp nat descriptor type 1000 masquerade nat descriptor type 1100 masquerade nat descriptor masquerade static 1100 1 192.168.1.1 4 dhcp service server dhcp server rfc2131 compliant except remain-silent dhcp scope 1 192.168.1.2-192.168.1.191/24 dhcp client release linkdown on dns server pp 1 dns server select 500001 pp 1 any . restrict pp 1 dns private address spoof on dns private name setup.netvolante.jp analog supplementary-service pseudo call-waiting analog extension emergency-call-dial type normal-number analog extension dial prefix sip prefix="9#" analog extension dial prefix routing route-table=1 ngn lan2 analog extension dial prefix port=1 routing route-table=1 ngn lan2 analog extension dial prefix port=2 routing route-table=1 ngn lan2 analog call route-table 1 1 analog call route 1 * * ngn lan2 * line sip use on sip codec permit lan2 g711u