ipsec.conf 377 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 host-host
  10. left=PH_IP_SUN
  11. leftcert=sunCert.pem
  12. leftid=sun.strongswan.org
  13. right=PH_IP_MOON
  14. rightid=moon.strongswan.org
  15. ike=aes256-sha512-modp4096!
  16. esp=aes256-sha512-modp4096!
  17. auto=add
  18. type=transport