ipsec.conf 484 B

123456789101112131415161718192021222324252627
  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. left=%any
  10. leftsubnet=10.1.0.0/16
  11. leftcert=moonCert.pem
  12. leftid=@moon.strongswan.org
  13. leftfirewall=yes
  14. conn carol
  15. right=%carol.strongswan.org
  16. rightid=carol@strongswan.org
  17. rightsourceip=PH_IP_CAROL1
  18. auto=add
  19. conn dave
  20. right=%dave.strongswan.org
  21. rightid=dave@strongswan.org
  22. rightsourceip=PH_IP_DAVE1
  23. auto=add