SHARE
TWEET

Untitled

a guest Aug 13th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. username :USERNAME password 0 :PASSWORD
  2.  
  3. vpdn enable
  4. vpdn-group l2tp-vpdn-group
  5. accept-dialin
  6. protocol l2tp
  7. accept-dialin
  8. protocol l2tp
  9. virtual-template 1
  10. exit
  11. no l2tp tunnel authentication
  12. exit
  13.  
  14. crypto keyring l2tp-keyring
  15. pre-shared-key address 0.0.0.0 0.0.0.0 key :PSK
  16. exit
  17.  
  18. crypto ipsec transform-set l2tp-policy esp-3des esp-sha-hmac
  19. mode transport
  20. exit
  21.  
  22. crypto dynamic-map l2tp-dynamic-map 1
  23. set nat demux
  24. set transform-set l2tp-policy
  25. exit
  26.  
  27. crypto map l2tp-crypto-map 10 ipsec-isakmp dynamic l2tp-dynamic-map
  28.  
  29. interface dialer 1
  30. crypto map l2tp-crypto-map
  31. exit
  32.  
  33. interface virtual-template 1
  34. ip unnumbered GigabitEthernet 0/4
  35. ip access-group 102 in
  36. peer default ip address pool l2tp-pool
  37. keepalive 5
  38. ppp authentication ms-chap-v2
  39. exit
  40.  
  41. ip local pool l2tp-pool 10.10.10.10 10.10.10.19
  42.  
  43. access-list 102 permit tcp any 10.10.10.2 0.0.0.0 eq 80
RAW Paste Data
Top