MrChillax

edgerouter-vpn

Jan 24th, 2017
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. ipsec {
  2. ipsec-interfaces {
  3. interface eth0
  4. }
  5. nat-networks {
  6. allowed-network 10.0.27.1/24 {
  7. }
  8. allowed-network 192.168.4.1/24 {
  9. }
  10. }
  11. nat-traversal enable
  12. }
  13. l2tp {
  14. remote-access {
  15. authentication {
  16. local-users {
  17. username ubnt {
  18. password anotherpass
  19. }
  20. }
  21. mode local
  22. }
  23. client-ip-pool {
  24. start 192.168.4.150
  25. stop 192.168.4.160
  26. }
  27. dns-servers {
  28. server-1 8.8.8.8
  29. server-2 8.8.4.4
  30. }
  31. ipsec-settings {
  32. authentication {
  33. mode pre-shared-secret
  34. pre-shared-secret vpn123
  35. }
  36. ike-lifetime 3600
  37. }
  38. outside-address 10.0.27.1
  39. outside-nexthop 10.0.27.253
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment