ipsec.conf 465 B

1234567891011121314151617181920212223242526
  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_MOON
  12. leftid=moon.strongswan.org
  13. leftsubnet=10.1.0.0/16
  14. leftcert=moonCert.pem
  15. leftsendcert=never
  16. leftauth=pubkey
  17. leftfirewall=yes
  18. right=sun.strongswan.org
  19. rightid=sun.strongswan.org
  20. rightsubnet=10.2.0.0/16
  21. rightsendcert=never
  22. rightauth=pubkey
  23. auto=add