Guest User

Untitled

a guest
Dec 11th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. #/etc/ipsec.conf
  2. version 2.0 # conforms to second version of ipsec.conf specification
  3.  
  4. config setup
  5. # Do not set debug options to debug configuration issues!
  6. # plutodebug / klipsdebug = "all", "none" or a combation from below:
  7. # "raw crypt parsing emitting control klips pfkey natt x509 dpd private"
  8. # eg:
  9. # plutodebug="control parsing"
  10. #
  11. # enable to get logs per-peer
  12. # plutoopts="--perpeerlog"
  13. #
  14. # Again: only enable plutodebug or klipsdebug when asked by a developer
  15. #
  16. # NAT-TRAVERSAL support, see README.NAT-Traversal
  17. nat_traversal=yes
  18. # exclude networks used on server side by adding %v4:!a.b.c.0/24
  19. virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
  20. # OE is now off by default. Uncomment and change to on, to enable.
  21. oe=off
  22. # which IPsec stack to use. auto will try netkey, then klips then mast
  23. protostack=auto
  24.  
  25.  
  26.  
  27.  
  28. include /etc/ipsec.d/l2tp-cert.conf
  29.  
  30. #/etc/ipsec.d/l2tp-cert.conf
  31. conn l2tp-X.509
  32. authby=rsasig
  33. pfs=no
  34. auto=add
  35. rekey=no
  36. left=192.168.15.101
  37. leftnexthop=192.168.15.1
  38. leftid=@delays.xmtp.net
  39. leftrsasigkey=%cert
  40. leftcert=/etc/ipsec.d/certs/delaysCert.pem
  41. leftprotoport=17/1701
  42. right=%any
  43. rightca=%same
  44. rightrsasigkey=%cert
  45. rightprotoport=17/0
  46. rightsubnet=vhost:%priv,%no
Add Comment
Please, Sign In to add comment