ipsec.conf 382 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=ikev1
  9. ike=aes256-sha256-curve25519!
  10. esp=aes256-aesxcbc!
  11. conn home
  12. left=PH_IP_CAROL
  13. leftcert=carolCert.pem
  14. leftid=carol@strongswan.org
  15. right=PH_IP_MOON
  16. rightsubnet=10.1.0.0/16
  17. rightid=@moon.strongswan.org
  18. auto=add