Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2015
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. version 2.0
  2. config setup
  3. dumpdir=/var/run/pluto/
  4. nat_traversal=yes
  5. virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:!10.0.151.0/24
  6. oe=off
  7. protostack=netkey
  8.  
  9. conn L2TP-PSK-NAT
  10. rightsubnet=vhost:%priv
  11. also=L2TP-PSK-noNAT
  12.  
  13. conn L2TP-PSK-noNAT
  14. authby=secret
  15. pfs=no
  16. auto=add
  17. keyingtries=3
  18. rekey=no
  19. dpddelay=30
  20. dpdtimeout=120
  21. dpdaction=clear
  22. ikelifetime=8h
  23. keylife=1h
  24. type=transport
  25. left=127.16.0.2
  26. leftnexthop=127.16.0.1
  27. leftprotoport=17/%any
  28. right=%any
  29. rightprotoport=17/%any
  30. forceencaps=yes
  31.  
  32. conn passthrough-for-non-l2tp
  33. type=passthrough
  34. left=127.16.0.2
  35. leftnexthop=126.16.0.1
  36. right=0.0.0.0
  37. rightsubnet=0.0.0.0/0
  38. auto=route
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement