ipsec.conf 622 B

1234567891011121314151617181920212223242526272829303132
  1. # /etc/ipsec.conf - strongSwan IPsec configuration file
  2. config setup
  3. strictcrlpolicy=yes
  4. ca strongswan
  5. cacert=strongswanCert.pem
  6. crluri=http://crl.strongswan.org/strongswan.crl
  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_MOON
  15. leftcert=moonCert.pem
  16. leftsendcert=ifasked
  17. leftid=@moon.strongswan.org
  18. conn alice
  19. leftsubnet=PH_IP_ALICE/32
  20. right=%any
  21. rightca="C=CH, O=strongSwan Project, CN=strongSwan Root CA"
  22. auto=add
  23. conn venus
  24. leftsubnet=PH_IP_VENUS/32
  25. right=%any
  26. rightca="C=CH, O=strongSwan Project, CN=strongSwan Root CA"
  27. auto=add