ipsec.conf 485 B

123456789101112131415161718192021222324252627
  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. mobike=no
  10. type=transport
  11. compress=yes
  12. dpdaction=hold
  13. dpddelay=10
  14. left=%any
  15. leftcert=moonCert.pem
  16. conn alice
  17. right=PH_IP_ALICE
  18. rightid="C=CH, O=strongSwan Project, OU=Sales, CN=alice@strongswan.org"
  19. auto=route
  20. conn sun
  21. right=PH_IP_SUN
  22. rightid="C=CH, O=strongSwan Project, CN=sun.strongswan.org"
  23. auto=route