ipsec.conf 384 B

12345678910111213141516171819202122
  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. leftsubnet=10.1.0.0/16
  13. leftcert=moonCert.pem
  14. leftid=@moon.strongswan.org
  15. leftfirewall=yes
  16. right=PH_IP_SUN
  17. rightsubnet=10.2.0.0/16
  18. rightid=@sun.strongswan.org
  19. auto=route