ipsec.conf 462 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=ikev2
  9. right=PH_IP_MOON
  10. rightsubnet=10.1.0.0/16
  11. rightcert=moonCert.pem
  12. rightid=@moon.strongswan.org
  13. rightfirewall=yes
  14. conn rw-carol
  15. left=%any
  16. leftid=carol@strongswan.org
  17. leftsourceip=PH_IP_CAROL1
  18. auto=add
  19. conn rw-dave
  20. left=%any
  21. leftid=dave@strongswan.org
  22. leftsourceip=PH_IP_DAVE1
  23. auto=add