ipsec.conf 434 B

12345678910111213141516171819202122232425
  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=ikev1
  9. aggressive=yes
  10. conn home
  11. left=PH_IP_DAVE
  12. leftcert=daveCert.pem
  13. leftid=dave@strongswan.org
  14. leftauth=pubkey
  15. leftauth2=xauth
  16. leftfirewall=yes
  17. right=PH_IP_MOON
  18. rightsubnet=10.1.0.0/16
  19. rightid=@moon.strongswan.org
  20. rightauth=pubkey
  21. xauth_identity=dave
  22. auto=add