ipsec.conf 391 B

12345678910111213141516171819202122
  1. # /etc/ipsec.conf - strongSwan IPsec configuration file
  2. config setup
  3. conn %default
  4. ikelifetime=60m
  5. keylife=10s
  6. rekeymargin=6s
  7. rekeyfuzz=0%
  8. keyingtries=1
  9. keyexchange=ikev2
  10. conn host-host
  11. left=PH_IP_SUN
  12. leftcert=sunCert.pem
  13. leftid=sun.strongswan.org
  14. right=PH_IP_MOON
  15. rightid=moon.strongswan.org
  16. ike=aes256-sha512-modp4096!
  17. esp=aes256-sha512-modp4096!
  18. type=transport
  19. auto=add