ipsec.conf 350 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=ikev2
  9. conn rw
  10. left=PH_IP_MOON
  11. leftcert=moonCert.pem
  12. leftid=@moon.strongswan.org
  13. leftsubnet=10.1.0.0/16
  14. leftfirewall=yes
  15. lefthostaccess=yes
  16. right=%any
  17. rightsourceip=%config
  18. auto=add