! ! Century Systems NXR-530 Series ver 21.11.13 (build 10/16:18 09 03 2023) ! hostname NXR_B telnet-server enable telnet-server ip forbidden-access-wan telnet-server ipv6 forbidden-access-wan http-server enable http-server ip forbidden-access-wan http-server ipv6 forbidden-access-wan no rest http enable no rest https enable ! ! ! ! ! ipv6 forwarding fast-forwarding enable ! ! ! ! ppp account username [ISP_B接続用ユーザID] password [ISP_B接続用パスワード] ! ! l2tp udp source-port 40001 ! l2tpv3 hostname NXRB l2tpv3 router-id 192.168.10.2 l2tpv3 path-mtu-discovery enable l2tpv3 fast-forwarding enable ! ipsec local policy 1 address ip ! ! ipsec isakmp policy 1 description NXR_A authentication pre-share IPsecKEY1 hash sha256 encryption aes128 group 5 lifetime 86400 isakmp-mode main remote address ip 203.0.113.1 local policy 1 ! ! ipsec tunnel policy 1 description NXR_A set transform esp-aes128 esp-sha256-hmac set pfs group5 set key-exchange isakmp 1 set sa lifetime 28800 match address IPsec_ACL ! ! l2tpv3 tunnel 1 description NXR_A tunnel address 203.0.113.1 tunnel hostname NXRA tunnel router-id 192.168.10.1 ! l2tpv3 xconnect 1 description NXR_A tunnel 1 xconnect ethernet 0 xconnect end-id 1 retry-interval 45 ip tcp adjust-mss auto ! interface ppp 0 ip address 192.0.2.1/32 ip tcp adjust-mss auto ip access-group in ppp0_IN ip access-group out ppp0_OUT ip masquerade ip spi-filter ppp username [ISP_B接続用ユーザID] ppp ipcp enable ipsec policy 1 ! interface ethernet 0 ip address 192.168.10.2/24 ! interface ethernet 1 no ip address pppoe-client ppp 0 ! interface ethernet 2 no ip address ! dns service enable ! ! syslog local enable exit-syslog ! ! ! system led ext 0 signal-level mobile 0 ! ! ! ! ! ! ! ip route 0.0.0.0/0 ppp 0 ! ! ! ip access-list ppp0_IN permit 203.0.113.1 192.0.2.1 udp 500 500 ip access-list ppp0_IN permit 203.0.113.1 192.0.2.1 50 ip access-list ppp0_OUT deny 192.0.2.1 203.0.113.1 115 ! ipsec access-list IPsec_ACL ip host host ! ! ! end