# Other WireGuard® Clients

## Installing Wireguard/VPN client

First, you have to install Wireguard application. On this [site](https://www.wireguard.com/install/) you can find information on how to download Wireguard for any operating system.

{% hint style="warning" %}
Please note that <mark style="color:red;">WireGuard clients other than</mark> [Defguard Desktop Client](/using-defguard-for-end-users/desktop-client.md) <mark style="color:red;">do not work with Multi-Factor Authentication</mark> <mark style="color:red;">**and they can only be used for Locations without MFA**</mark> - as the only client supporting this feature is our desktop client.
{% endhint %}

## Adding a device to connect to VPN

1. On your account profile, open **Devices** tab.
2. Click on *Add new device*<br>

   <figure><img src="/files/vs2NYLPRKZUvTzNY7b6g" alt=""><figcaption></figcaption></figure>
3. Click **Show advanced option** and click **Manual WireGuard Setup**.<br>

   <figure><img src="/files/tIcs0sOwsfi0XPOxTGvy" alt="" width="502"><figcaption></figcaption></figure>

a. **Generate key pair** - if you are a new user, just select this option - it will generate a secure key pair (private and public key) - **securly in you browser (Defguard doesn't store user private keys)**

{% hint style="info" %}
Choosing this option - when you download your configuration (or use QR Code to configure Wireguard on your mobile device) - **the private key will be included in your configuration and there will be noting else you need to do**
{% endhint %}

b. **Use my own public key** - if you are an advanced user and know how to generate a key pair yourself - you can choose this option and enter **your own public key (keeping your private key to yourself)**

{% hint style="warning" %}
Choosing this option - **you will need to change PrivateKey (insert the private key you hold)** in the configuration file you download
{% endhint %}

4. Now you can **download/configure your Wireguard/VPN client by:**
   1. **downloading** the configuration
   2. **Copy** configuration to Clipboard
   3. Use Wireguard feature to configure by scanning the **QR Code**

<figure><img src="/files/xPb1Q2agxcuu46yyy5Zn" alt="" width="488"><figcaption></figcaption></figure>

{% hint style="info" %}
If you have **multiple VPN locations** - you can choose to download configuration for **each of the location - by selecting the location as shown**
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.defguard.net/using-defguard-for-end-users/adding-wireguard-devices.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
