ipsec.conf 366 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=aes256gmac-curve25519!
  11. conn rw
  12. left=PH_IP_MOON
  13. leftfirewall=yes
  14. leftcert=moonCert.pem
  15. leftid=@moon.strongswan.org
  16. leftsubnet=10.1.0.0/16
  17. right=%any
  18. auto=add