Configure the WireGuard VPN

Your Connect EZ 8 device supports using WireGuard VPN. You can configure the device for either client or server mode. For client mode, your Connect EZ 8 is establishing an outbound WireGuard VPN connection to the WireGuard server. For server mode, your Connect EZ 8 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 to create a Wireguard tunnel and corresponding interface.

Before you begin

Decide whether you want your device to establish an outbound WireGuard VPN connection or if you want it to act as a WireGuard server. Each mode requires different information.

 

For client mode

You need the following information from the WireGuard server:

  • Private key

  • Remote endpoint address or hostname

  • Remote endpoint port

  • Remote endpoint public key

  • Preshared key (optional)

  • Local and remote IP addresses

For server mode

You need the following information:

  • Client public key

    Note 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