Guest User

Untitled

a guest
Jun 14th, 2013
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. # strongswan.conf - strongSwan configuration file
  2. charon {
  3. threads = 16
  4.  
  5. plugins {
  6. sql {
  7. # loglevel to log into sql database
  8. loglevel = -1
  9. }
  10.  
  11. }
  12.  
  13. syslog {
  14. daemon {
  15. default = 1
  16. cfg = 4
  17. lib = 4
  18. }
  19. }
  20. }
  21.  
  22. pluto {
  23. }
  24.  
  25. libstrongswan {
  26. plugins {
  27. pkcs11 {
  28. modules {
  29. use_hasher = no
  30. pkcs11-test {
  31. path = /usr/local/lib/opensc-pkcs11.so
  32. }
  33. }
  34. }
  35. }
  36. }
  37.  
  38.  
  39. ##########################################
  40. # ipsec.conf - strongSwan IPsec configuration file
  41.  
  42. config setup
  43. uniqueids = no
  44.  
  45. conn cap
  46. keyexchange=ikev2 # this is the only think which changed between both ikev1 and ikev2 scenarios
  47. left=%defaultroute
  48. leftcert=%smartcard1:19e69b3cf025053d08b52ffc80a3e8239423393e
  49. leftid="XXXXXXX" # obfuscated
  50. leftsendcert=ifasked
  51. right=192.168.2.141
  52. rightid="YYYYYYYY" # obfuscated
  53. auto=add
  54.  
  55. ############################################
  56. # /etc/ipsec.secrets - strongSwan IPsec secrets file
  57.  
  58. : PIN %smartcard1:19e69b3cf025053d08b52ffc80a3e8239423393e %prompt
Advertisement
Add Comment
Please, Sign In to add comment