ipsec.conf 437 B

1234567891011121314151617181920212223242526272829
  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. conn alice
  10. rightsubnet=10.1.0.10/32
  11. also=home
  12. auto=add
  13. conn venus
  14. rightsubnet=10.1.0.20/32
  15. also=home
  16. auto=add
  17. conn home
  18. left=%any
  19. leftcert=carolCert.pem
  20. leftauth=pubkey-sha384
  21. leftfirewall=yes
  22. right=PH_IP_MOON
  23. rightid=@moon.strongswan.org
  24. rightauth=pubkey