ipsec.conf 412 B

123456789101112131415161718192021
  1. # /etc/ipsec.conf - strongSwan IPsec configuration file
  2. config setup
  3. conn %default
  4. ikelifetime=60m
  5. keylife=20m
  6. rekeymargin=3m
  7. keyingtries=1
  8. keyexchange=ikev2
  9. conn venus
  10. left=PH_IP_DAVE
  11. leftcert=daveCert.pem
  12. leftid=dave@strongswan.org
  13. leftsendcert=ifasked
  14. right=PH_IP_MOON
  15. rightid=@moon.strongswan.org
  16. rightca="C=CH, O=Linux strongSwan, CN=strongSwan Root CA"
  17. rightsubnet=PH_IP_VENUS/32
  18. auto=add