Configure the WireGuard VPN

Your Connect EZ device supports using WireGuard VPN. You can configure the device for either client or server mode. For client mode, your Connect EZ is establishing an outbound WireGuard VPN connection to the WireGuard server. For server mode, your Connect EZ is acting as a WireGuard server and accepts incoming WireGuard VPN connections from one or more client devices. Regardless of how you configure the device, you will need to create a Wireguard tunnel and corresponding interface.

To configure the WireGuard VPN:

  1. Decide the WireGuard mode for your Connect EZ: Client or Server.

    • Client mode - The device establishes an outbound WireGuard VPN connection.

    • Server mode - The device acts as a WireGuard server.

  2. Gather the required information for the mode you chose.

    Required information for Client mode

    • Private key

    • Remote endpoint address or hostname

    • Remote endpoint port

    • Remote endpoint public key

    • Preshared key (optional)

    • Local and remote IP addresses

    Required information for Server mode

    • Client public key

      This key can come from the client device or you can generate it from the Digi device’s Admin CLI console using the wireguard generate [tunnel_name] [client_name] command after configuring the Wireguard server settings on the Digi device.

    • Pre-shared key (optional)

    • Local and remote IP addresses

  3. Choose the management interface you want to use to access your device. Click a dropdown for instructions.

  4. Create a WireGuard tunnel.
  5. Create the WireGuard interface.

þ You have finished configuring the WireGuard VPN by creating a new tunnel and interface.