Network devices
Last updated
Last updated
Network devices are like regular user devices but can only be managed by admins and have access to only one network. They are designed to be used with the Defguard CLI client.
In order to add a new network device, navigate to the network device menu (select it from the menu bar at the left).
While in the network device menu, click the "Add new" button. You will be presented with a popup prompting you to select your method of setting up the network device.
Defguard Command Line Client - choose it to automatically configure your device with the Defguard CLI client
Manual WireGuard Client - choose it if you don't want to use the Defguard CLI client. You will need to configure your network device manually with a WireGuard config file.
After selecting the first option you will be presented with the initial setup screen.
You can specify here the following settings:
Device name - the name used to identify the device, keep it unique in regard to other network devices. This name will be displayed on the network device list,
Location - the network to which the device should have access,
Assigned IP Address - automatically suggested IP address, you may change it as needed,
Description - the description to help you identify the device, it will be displayed in the device list.
After you've finished setting those values, proceed to the next step. You will be presented with an enrollment command. Learn more about further steps from the CLI client documentation.
The screen here is similar to that of the CLI client configuration, except for the additional public key field.
The fields are as follows:
Device name - the name used to identify the device, keep it unique in regard to other network devices. This name will be displayed on the network device list,
Location - the network to which the device should have access,
Assigned IP Address - automatically suggested IP address, you may change it as needed,
Description - the description to help you identify the device, it will be displayed in the device list.
If you already have a public key for your device, insert it into the public key field. Otherwise, select the option to generate the key pair.
On the next screen you will be presented with the WireGuard configuration file. Copy, download or scan it to import it to your WireGuard client.
After you've configured your network device, you can display its enrollment token again, by interacting with the following menu:
Selecting "Generate auth token" will re-generate the enrollment token and will allow you to enroll your CLI client again. Use it if you want to manually pull the newest network configuration for your client.
Selecting the "View config" option will display the WireGuard configuration file (without the private key, as Defguard doesn't store it).