Advertisement
philip_h

ipsec.conf

Jul 6th, 2015
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. version 2
  2. config setup
  3. strictcrlpolicy=no
  4. charondebug="ike 2, knl 2, cfg 2, mgr 2, chd 2, lib 2, net 2"
  5.  
  6. conn %default
  7. ikelifetime=1440m
  8. keylife=60m
  9. rekeymargin=3m
  10. keyingtries=1
  11. keyexchange=ikev1
  12. authby=xauthpsk
  13.  
  14. conn home
  15. keyexchange=ikev1
  16. ikelifetime=1440m
  17. keylife=60m
  18. aggressive=yes
  19. ike=aes-sha1-modp1024 #Phase1 parameters
  20. esp=aes128-sha1-modp1024 #Phase2 parameters
  21. xauth=client #Xauth client mode
  22. left=%and
  23. leftid=userid
  24. leftsourceip=%config
  25. leftauth=psk
  26. rightauth=psk
  27. leftauth2=xauth #use PSK for group RA and Xauth for user cisco
  28. right=10.3.0.2
  29. rightsubnet=0.0.0.0/0
  30. xauth_identity=user-pass
  31. auto=route
  32. dpdaction=restart
  33. dpddelay=30s
  34. dpdtimeout=150s
  35. type=tunnel
  36. leftupdown=/scripts/tun_updown.sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement