! ! Century Systems NXR-650 Series ver 21.2.0 (build 5/09:02 27 06 2019) ! DIP-SW : 1:off 2:off 3:off 4:off ! hostname NXR_A telnet-server enable http-server enable ! ! ! ! ! ! ! ipv6 forwarding fast-forwarding enable ! ! ! ! ! ! l2tp udp source-port 40001 ! ! ipsec local policy 1 address ip ! ! ipsec isakmp policy 1 description NXR_B version 2 authentication pre-share ipseckey1 hash sha256 encryption aes128 group 5 lifetime 86400 remote address ip 192.0.2.2 local policy 1 ! ipsec isakmp policy 2 description NXR_C version 2 authentication pre-share ipseckey2 keepalive 30 3 periodic clear hash sha256 encryption aes128 group 5 lifetime 86400 remote address ip any remote identity fqdn nxrc local policy 1 ! ! ipsec tunnel policy 1 description NXR_B set transform esp-aes128 esp-sha256-hmac set pfs group5 set key-exchange isakmp 1 set sa lifetime 28800 match address ipsec_acl ! ipsec tunnel policy 2 description NXR_C negotiation-mode responder set transform esp-aes128 esp-sha256-hmac set pfs group5 set key-exchange isakmp 2 set sa lifetime 28800 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 ethernet 0 ip address 192.168.10.1/24 ! interface ethernet 1 ip address 203.0.113.1/30 ip access-group in eth1_in ip masquerade ip spi-filter ipsec policy 1 ! interface ethernet 2 no ip address ! dns service enable address 203.0.113.253 address 203.0.113.254 ! ! syslog local enable exit-syslog ! ! ! system led ext 0 signal-level mobile 0 ! ! ! ! ! ! ! ip route 192.168.20.0/24 tunnel 1 ip route 192.168.20.0/24 null 254 ip route 192.168.30.0/24 tunnel 2 ip route 192.168.30.0/24 null 254 ip route 0.0.0.0/0 203.0.113.2 ! ! ! ip access-list eth1_in permit any 203.0.113.1 udp any 500 ip access-list eth1_in permit any 203.0.113.1 udp any 4500 ip access-list eth1_in permit any 203.0.113.1 50 ! ipsec access-list ipsec_acl ip any any ! ! ! end