ipsec.conf 590 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=6cu1UTVw@medsrv.org
  16. leftauth=psk
  17. right=PH_IP_CAROL
  18. rightid=carol@strongswan.org
  19. rightauth=pubkey
  20. mediation=yes
  21. auto=add
  22. conn peer
  23. leftcert=aliceCert.pem
  24. leftid=alice@strongswan.org
  25. right=%any
  26. rightid=bob@strongswan.org
  27. rightsubnet=PH_IP_BOB/32
  28. mediated_by=medsrv
  29. me_peerid=av9oEPMz@medsrv.org
  30. auto=start