! version 15.5 service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption ! aaa authentication login userauth local aaa authentication ppp pppauth local aaa authorization network groupauth local ! vpdn enable ! vpdn-group 1 ! vpdn-group L2TP_VPN-ipsec ! Default L2TP VPDN group accept-dialin protocol l2tp virtual-template 3 no l2tp tunnel authentication ! crypto isakmp policy 10 encr 3des authentication pre-share group 2 lifetime 1800 crypto isakmp key ******** address 0.0.0.0 no-xauth ! crypto ipsec transform-set L2TP-TS esp-aes 256 esp-sha-hmac mode transport crypto ipsec transform-set L2TP-TS2 esp-aes esp-sha-hmac mode transport crypto ipsec transform-set L2TP-TS3 esp-3des esp-md5-hmac mode transport ! crypto dynamic-map VPN-dynamic-map 10 set nat demux set security-association lifetime seconds 28800 set transform-set L2TP-TS L2TP-TS2 L2TP-TS3 ! ! crypto map VPN-Map 10 ipsec-isakmp dynamic VPN-dynamic-map ! interface GigabitEthernet0/0 switchport access vlan 10 no ip address ! interface GigabitEthernet0/1 switchport access vlan 10 no ip address ! interface GigabitEthernet0/2 switchport access vlan 10 no ip address ! interface GigabitEthernet0/3 switchport access vlan 10 no ip address ! interface GigabitEthernet0/4 description To PPPoE Router ip address 10.10.10.254 255.255.255.0 duplex auto speed auto crypto map VPN-Map ! interface Virtual-Template3 description L2TP_VPN access interface ip unnumbered GigabitEthernet0/4 ip mtu 1280 peer default ip address pool VPN_POOL ppp authentication ms-chap-v2 ms-chap chap pppauth ! interface Vlan10 ip address 192.168.10.1 255.255.255.0 ip tcp adjust-mss 1328 ! ip local pool VPN_POOL 192.168.10.20 192.168.10.24 !