ipsec.conf 607 B

12345678910111213141516171819202122232425262728293031
  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=ikev1
  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=%any
  20. rightca="C=CH, O=strongSwan Project, OU=Research, CN=Research CA"
  21. auto=add
  22. conn venus
  23. leftsubnet=PH_IP_VENUS/32
  24. right=%any
  25. rightca="C=CH, O=strongSwan Project, OU=Sales, CN=Sales CA"
  26. auto=add