| description | In this guide, you will learn how to add, remove and update Instance in Defguard desktop client. |
|---|
{% hint style="warning" %} Defguard Desktop Client is required if you want to use Multi-Factor Authentication, as any other WireGuard client doesn't support this functionality. {% endhint %}
{% hint style="info" %} If you are looking for how to generate tokens for your users as an Administrator, look here:
remote-desktop-activation.md {% endhint %}
- Log in to your Defguard account.
- Go to My Profile tab.
- Click Add new device button inside User Devices list.
- Select Remote Device Activation and click Next.
- After that you will see URL, Token and QR Code. Copy URL and Token.
- Open Defguard client
- Click Add Instance.
- Enter URL and Token, then click Add Instance. (If you don't have it, check out this section)
- Select your Instance from menu
- Select your location, allowed traffic then click Connect.
{% hint style="info" %}
- Predefined traffic will only route traffic specified by your administrator.
- All traffic will route everything through VPN tunnel. {% endhint %}
Click Disconnect next to the location you are currently connected to.
If you want to update your instance manually:
- Go to your Instance and click Edit Instance
{% hint style="warning" %} Only tokens issued from that specific instance will work in that modal. {% endhint %}
- Enter Token provided by your administrator, or generate it on your own. Then click Update Instance
Your Instance will update immediately.
Defguard Desktop stores all information locally and doesn't communicate with Defguard outside the registration process. This means that information about instances are snapshots of the moment you registered them in the desktop client, and you might want to update that, for example when some new locations are added or removed.
{% hint style="success" %} If you have an Enterprise License, all desktop clients and all instances are synchronized automatically and in real-time. {% endhint %}
- Go to your Instance and click Edit Instance
- Click Remove Instance
Your Instance will be removed immediately.
The client can be configured to automatically connect to an instance when it launches. Open Settings and scroll to the Default instance section, then select the instance you want from the dropdown. The default value is None, which means no automatic connection takes place on startup.
{% hint style="info" %} The dropdown only lists instances that have already been added to the client. {% endhint %}
When a default instance is set, locations that require Multi-Factor Authentication are skipped during auto-connect by default. Enable Connect MFA locations on startup to include them — the MFA prompt will appear automatically after the client launches.
{% hint style="warning" %} For locations using an external SSO provider (e.g. Google, Entra ID, Okta) this will open a browser window automatically on startup to complete authentication. {% endhint %}









.png)
