ipsec.conf 432 B

123456789101112131415161718192021222324
  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. dpdaction=restart
  10. dpddelay=60s
  11. leftfirewall=yes
  12. lefthostaccess=yes
  13. conn hub
  14. leftcert=bobCert.pem
  15. leftid=bob@strongswan.org
  16. leftsubnet=10.2.0.0/16
  17. right=PH_IP_CAROL
  18. rightid=carol@strongswan.org
  19. rightsubnet=PH_IP_CAROL/32,10.1.0.0/16
  20. compress=yes
  21. auto=add