! ! Century Systems NXR-230 Series ver 5.26.11 (build 5/14:55 09 03 2016) ! hostname NXR_B telnet-server enable http-server enable ! ! ! ! ! ! ipv6 forwarding fast-forwarding enable ! ppp account username test2@example.jp password test2pass ! ! class policy ppp0qos class 10 bandwidth percent 30 ceil 100 class default bandwidth percent 70 ceil 100 ! class filter 10 match ip mark 10 ! ipsec local policy 1 address ip self-identity fqdn nxrb ! ! ipsec isakmp policy 1 description NXR_A authentication pre-share ipseckey hash sha256 encryption aes128 group 5 isakmp-mode aggressive remote address ip 10.10.10.1 local policy 1 ! ! ipsec tunnel policy 1 description NXR_A no set anti-replay-check 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 classify output route-map qos_routemap tunnel mode ipsec ipv4 tunnel protection ipsec policy 1 ! interface ppp 0 ip address negotiated ip tcp adjust-mss auto ip access-group in ppp0_in ip masquerade ip spi-filter ppp username test2@example.jp ipsec policy 1 queue policy ppp0qos bandwidth 50000 ! interface ethernet 0 ip address 192.168.20.1/24 ! interface ethernet 1 no ip address pppoe-client ppp 0 ! interface ethernet 2 no ip address ! dns service enable ! syslog local enable ! ! ! system led ext 0 signal-level mobile 0 ! ! ! ! ! ! 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 10.10.10.1 any udp 500 500 ip access-list ppp0_in permit 10.10.10.1 any 50 ! ipsec access-list ipsec_acl ip any any ! ! class access-list class_acl ip any any udp ! route-map qos_routemap permit 1 match ip address class_acl set mark 10 ! ! end