! ! Century Systems NXR-G240 Series ver 9.4.1 (build 4/12:07 02 11 2017) ! DIP-SW : 1:off 2:off 3:off 4:off ! hostname nxrg240 telnet-server enable http-server enable ! ! system power-management mode balance ! ! ! ipv6 forwarding fast-forwarding enable ! ! ! ! ppp account username test1@example.jp password test1pass ! ! l2tp udp source-port 40001 ! ! ! ! ! interface ppp 0 ip address negotiated ip tcp adjust-mss auto ip dns-intercept 0 ip masquerade ip spi-filter ppp username test1@example.jp ! interface ethernet 0 ip address 192.168.10.1/24 ip policy route-map pbr classify input route-map intercept ! interface ethernet 1 no ip address pppoe-client ppp 0 ! interface ethernet 2 ip address 10.10.20.1/30 ip dns-intercept 0 ip masquerade ip spi-filter ! dns service enable address 10.10.30.1 priority ppp 0 10 timeout 5 ! dns-intercept 0 address 10.10.30.1 match ip setname DNSI ! ! syslog local enable exit-syslog ! ! ! ! ! ! ! track 1 interface ppp 0 initial-timeout 30 ! ! ! ip route 10.10.30.1/32 10.10.20.2 ip route 0.0.0.0/0 ppp 0 ip route 0.0.0.0/0 10.10.20.2 netevent 1 active ! ! ip dns-intercept setname DNSI file ! ! class access-list dnsi_acl ip any dns-set DNSI tcp any 22 class access-list dnsi_acl ip any dns-set DNSI tcp any 80 class access-list dnsi_acl ip any dns-set DNSI tcp any 443 ! route-map intercept permit 1 match ip address dnsi_acl set mark 1 ! route-map pbr permit 1 match ip mark 1 set ip next-hop 10.10.20.2 ! ! end