ipsec.conf 384 B

12345678910111213141516171819202122
  1. # /etc/ipsec.conf - strongSwan IPsec configuration file
  2. config setup
  3. conn %default
  4. keylife=20m
  5. ikelifetime=10s
  6. rekeymargin=5s
  7. rekeyfuzz=0%
  8. keyingtries=1
  9. conn home
  10. left=PH_IP_CAROL
  11. leftcert=carolCert.pem
  12. leftid=carol@strongswan.org
  13. leftsourceip=%config
  14. leftfirewall=yes
  15. right=PH_IP_MOON
  16. rightid=@moon.strongswan.org
  17. rightsubnet=10.1.0.0/16
  18. keyexchange=ikev2
  19. auto=add