Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Klik op System Preferences icon in dock → Internet & Network, ‘Network’ icon → "EHB_VPNv2" → Disconnect

Linux

Installeren benodigde packages:

apt install strongswan libcharon-extra-plugins libcharon-extauth-plugins


Aanpassen /etc/ipsec.conf:

 conn EhB-VPN

        keyexchange=ikev2
        #dpdaction=restart
        auto=start
        dpdaction=hold
        closeaction=hold
        dpddelay=300s
        eap_identity=voornaam.achternaam@ehb.be
        leftauth=eap-mschapv2
        left=%defaultroute
        leftsourceip=%config
        right=sslvpn.ehb.be
        rightauth=pubkey
        rightsubnet=0.0.0.0/0
        rightid= %any
        type=tunnel

Merk op auto=start om automatisch op te starten.

Aanpassen /etc/ipsec.secrets:

# Spaties TUSSEN “:” en NA EAP!!!

voornaam.achternaam@ehb.be : EAP "PASWOORD”

Opstarten ipsec service:

systemctl start

Of de ipsec service telkens bij het opstarten device activeren:

systemctl enable ipsec

Ter referentie:

  1. https://support.strongvpn.com/hc/en-us/articles/360039667713-IKEv2-Setup-Ubuntu-18-and-above-on-Command-Line

  2. https://stackoverflow.com/questions/65617062/what-is-the-difference-between-hold-and-restart-of-dpd-action-in-strongswan-ipse