! ! Century Systems NXR-120 Series ver 5.24.1C (build 1/13:44 26 09 2013) ! hostname NXR_A telnet-server enable http-server enable ! ! ! ! ipv6 forwarding fast-forwarding enable ! ! ipsec priority-ignore enable ! ipsec local policy 1 address ip ! ! ipsec isakmp policy 1 description NXR_B authentication pre-share ipseckey1 hash sha1 encryption aes128 group 5 isakmp-mode main remote address ip 10.10.20.1 local policy 1 ! ipsec isakmp policy 2 description NXR_C authentication pre-share ipseckey2 keepalive 30 3 periodic clear hash sha1 encryption aes128 group 5 isakmp-mode aggressive remote address ip any remote identity fqdn nxrc local policy 1 ! ! ipsec tunnel policy 1 description NXR_B set transform esp-aes128 esp-sha1-hmac set pfs group5 set key-exchange isakmp 1 match address ipsec_acl ! ipsec tunnel policy 2 description NXR_C negotiation-mode responder set transform esp-aes128 esp-sha1-hmac set pfs group5 set key-exchange isakmp 2 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 tunnel 2 no ip address ip tcp adjust-mss auto tunnel mode ipsec ipv4 tunnel protection ipsec policy 2 ! interface ppp 0 ip address 10.10.10.1/32 no ip redirects ip tcp adjust-mss auto ip access-group in ppp0_in ip masquerade ip spi-filter ppp username test1@example.jp password test1pass ipsec policy 1 ! interface ethernet 0 ip address 192.168.10.1/24 ! interface ethernet 1 no ip address pppoe-client ppp 0 ! dns service enable ! syslog local enable ! ! ! system led ext 0 signal-level mobile 0 ! ! ! ! ! ! ip route 192.168.20.0/24 tunnel 1 ip route 192.168.30.0/24 tunnel 2 ip route 192.168.20.0/24 null 254 ip route 192.168.30.0/24 null 254 ip route 0.0.0.0/0 ppp 0 ! ip access-list ppp0_in permit any 10.10.10.1 udp 500 500 ip access-list ppp0_in permit any 10.10.10.1 50 ! ipsec access-list ipsec_acl ip any any ! ! ! end