ipsec.conf 419 B

1234567891011121314151617181920212223
  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. conn net-net
  11. left=PH_IP_SUN
  12. leftcert=sunCert.pem
  13. leftid=sun.strongswan.org
  14. leftsubnet=10.2.0.0/16
  15. right=PH_IP_MOON
  16. rightid=moon.strongswan.org
  17. rightsubnet=10.1.0.0/16
  18. ike=aes256-sha512-modp4096!
  19. esp=aes256-sha512-modp4096!
  20. auto=add