ipsec.conf 670 B

123456789101112131415161718192021222324252627282930313233
  1. # /etc/ipsec.conf - strongSwan IPsec configuration file
  2. config setup
  3. ca strongswan
  4. cacert=strongswanCert.pem
  5. crluri=http://crl.strongswan.org/strongswan.crl
  6. auto=add
  7. conn %default
  8. ikelifetime=60m
  9. keylife=20m
  10. rekeymargin=3m
  11. keyingtries=1
  12. keyexchange=ikev2
  13. left=PH_IP_MOON
  14. leftcert=moonCert.pem
  15. leftsendcert=ifasked
  16. leftid=@moon.strongswan.org
  17. conn alice
  18. leftsubnet=PH_IP_ALICE/32
  19. right=PH_IP_CAROL
  20. rightid=carol@strongswan.org
  21. rightca="C=CH, O=Linux strongSwan, CN=strongSwan Root CA"
  22. auto=add
  23. conn venus
  24. leftsubnet=PH_IP_VENUS/32
  25. right=PH_IP_DAVE
  26. rightid=dave@strongswan.org
  27. rightca="C=CH, O=Linux strongSwan, CN=strongSwan Root CA"
  28. auto=add