ipsec.conf 382 B

123456789101112131415161718192021
  1. # /etc/ipsec.conf - strongSwan IPsec configuration file
  2. conn %default
  3. ikelifetime=60m
  4. lifetime=10s
  5. margintime=5s
  6. rekeyfuzz=0%
  7. keyingtries=1
  8. keyexchange=ikev2
  9. mobike=no
  10. conn net-net
  11. left=PH_IP_MOON
  12. leftcert=moonCert.pem
  13. leftid=@moon.strongswan.org
  14. leftsubnet=10.1.0.0/16
  15. leftfirewall=yes
  16. right=PH_IP_SUN
  17. rightid=@sun.strongswan.org
  18. rightsubnet=10.2.0.0/16
  19. auto=add