ipsec.conf 378 B

123456789101112131415161718192021222324
  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=clear
  11. dpddelay=60s
  12. conn medsrv
  13. left=PH_IP_CAROL
  14. leftcert=carolCert.pem
  15. leftid=carol@strongswan.org
  16. leftauth=pubkey
  17. leftfirewall=yes
  18. right=%any
  19. rightauth=psk
  20. mediation=yes
  21. auto=add