! ! Century Systems NXR-230 Series ver 5.26.11 (build 5/14:55 09 03 2016) ! hostname NXR_A telnet-server enable http-server enable ! ! ! ! ! ! ipv6 forwarding fast-forwarding enable ! ! ! class policy eth1qos class 10 bandwidth percent 75 ceil 100 class default bandwidth percent 25 ceil 100 ! class filter 10 match ip mark 10 ! ipsec local policy 1 address ip ! ! ipsec isakmp policy 1 description NXR_B authentication pre-share ipseckey keepalive 30 3 periodic clear hash sha256 encryption aes128 group 5 isakmp-mode aggressive remote address ip any remote identity fqdn nxrb local policy 1 ! ! ipsec tunnel policy 1 description NXR_B negotiation-mode responder 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 tunnel mode ipsec ipv4 tunnel protection ipsec policy 1 ! interface ethernet 0 ip address 192.168.10.1/24 classify input route-map qos_routemap ! interface ethernet 1 ip address 10.10.10.1/30 ip tcp adjust-mss auto ip access-group in eth1_in ip masquerade ip spi-filter ipsec policy 1 queue policy eth1qos bandwidth 20000 ifg-pa-fcs ! interface ethernet 2 no ip address ! dns service enable address 10.10.10.2 ! syslog local enable ! ! ! 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 0.0.0.0/0 10.10.10.2 ! ip access-list eth1_in permit any 10.10.10.1 udp 500 500 ip access-list eth1_in permit any 10.10.10.1 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