ipsec.conf 587 B

12345678910111213141516171819202122232425262728293031323334
  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. mobike=no
  10. dpdaction=restart
  11. dpddelay=60s
  12. left=%defaultroute
  13. leftfirewall=yes
  14. conn medsrv
  15. leftid=av9oEPMz@medsrv.org
  16. leftauth=psk
  17. right=PH_IP_CAROL
  18. rightid=carol@strongswan.org
  19. rightauth=pubkey
  20. mediation=yes
  21. auto=start
  22. conn peer
  23. leftcert=bobCert.pem
  24. leftid=bob@strongswan.org
  25. right=%any
  26. rightid=alice@strongswan.org
  27. rightsubnet=PH_IP_ALICE/32
  28. mediated_by=medsrv
  29. me_peerid=6cu1UTVw@medsrv.org
  30. auto=add