! ! Century Systems NXR-G100 Series ver 6.15.3 (build 8/14:43 01 12 2017) ! DIP-SW : 1:off 2:off 3:off 4:off ! USB transfer-mode : dma ! hostname NXR_A telnet-server enable http-server enable ! ! system power-management mode balance ! ! ! ipv6 forwarding fast-forwarding enable ! ! ! ppp account username test2@example.jp password test2pass ! ! ipsec local policy 1 address ip ! ! ipsec isakmp policy 1 description NEC_IX authentication pre-share ipseckey1 hash sha256 encryption aes128 group 5 isakmp-mode main remote address ip 192.0.2.1 local policy 1 ! ! ipsec tunnel policy 1 description NEC_IX set transform esp-aes128 esp-sha256-hmac set pfs group5 set key-exchange isakmp 1 match address ipsec_acl ! ! interface tunnel 1 no ip address ip tcp adjust-mss auto tunnel mode ipsec ipv4 tunnel protection ipsec policy 1 ! interface ppp 0 ip address 192.0.2.2/32 ip tcp adjust-mss auto ip access-group in ppp0_in ip masquerade ip spi-filter ppp username test2@example.jp ipsec policy 1 ! interface ethernet 0 ip address 192.168.20.1/24 ! interface ethernet 1 no ip address pppoe-client ppp 0 ! dns service enable ! syslog local enable ! ! ! ! ! ! ! ! ! ! ip route 192.168.10.0/24 tunnel 1 ip route 192.168.10.0/24 null 254 ip route 0.0.0.0/0 ppp 0 ! ip access-list ppp0_in permit 192.0.2.1 192.0.2.2 udp 500 500 ip access-list ppp0_in permit 192.0.2.1 192.0.2.2 50 ! ipsec access-list ipsec_acl ip any any ! ! ! end