ipsec.conf 600 B

1234567891011121314151617181920212223242526272829
  1. # /etc/ipsec.conf - strongSwan IPsec configuration file
  2. config setup
  3. strictcrlpolicy=yes
  4. ca strongswan
  5. cacert=strongswanCert.pem
  6. crluri="ldap://ldap.strongswan.org/cn=strongSwan Root CA, o=strongSwan Project, c=CH?certificateRevocationList"
  7. auto=add
  8. conn %default
  9. ikelifetime=60m
  10. keylife=20m
  11. rekeymargin=3m
  12. keyingtries=1
  13. keyexchange=ikev2
  14. left=PH_IP_DAVE
  15. leftcert=daveCert.pem
  16. right=PH_IP_MOON
  17. rightid=@moon.strongswan.org
  18. rightca="C=CH, O=strongSwan Project, CN=strongSwan Root CA"
  19. conn alice
  20. rightsubnet=PH_IP_ALICE/32
  21. auto=add
  22. conn venus
  23. rightsubnet=PH_IP_VENUS/32
  24. auto=add