defguard
  • Welcome
  • Getting help
  • About
    • About defguard
    • Features overview
  • Getting started
    • One-line install script
  • Admin Features
    • Overview
    • Zero-Trust VPN with 2FA/MFA
      • Create/manage VPN Location
      • Network overview
      • Executing custom gateway commands
      • Multi-Factor Authentication (MFA/2FA)
        • MFA Architecture
      • Remote desktop client configuration
      • DNS and domains
    • Remote user enrollment
      • User onboarding after enrollment
    • SSO (OpenID Connect)
      • Portainer
      • Grafana setup
      • Proxmox
      • Matrix / Synapse
      • Django
      • MinIO
      • Vault
    • SMTP for email notifications
    • YubiKey Provisioning
    • Webhooks
    • Forward auth
    • SSH Authentication
    • Network devices
    • Activity & Audit logs
    • Gateway notifications
    • New version notifications
  • User features
    • Overwiew
    • Desktop Client
    • CLI Client
    • Configuring VPN
      • Defguard Desktop Client
        • Update instance
      • Other WireGuard® Clients
        • Configuring a device for new VPN Location manually
    • Password change / Reset
    • Enrollment & Onboarding
      • With internal Defguard SSO
      • With external SSO (Google/Microsoft/Custom)
    • Setting up 2FA/MFA
  • Enterprise Features
    • Overview
    • Enteprise features
      • Automatic (real time) desktop client configuration & sync
      • External OpenID providers
        • Google
        • Microsoft
        • Zitadel
        • Keycloak
        • JumpCloud
        • Okta
        • Custom
      • External OIDC secure enrollment
      • VPN & Client behavior customization
      • Access Control List
        • ACL Aliases
        • Implementation Details
      • Audit Log Streaming to SIEM systems
        • Supported SIEM systems integrations
          • Vector integration guide
          • Logstash integration guide
      • LDAP and Active Directory integration
        • Configuration
        • Settings table
        • Two-way LDAP and Active Directory synchronization
      • REST API
  • Deployment strategies
    • Prerequisites
    • Standalone package based installation
    • Docker images and tags
    • Docker Compose
    • Kubernetes
    • Terraform
    • High Availability and Failover
    • Upgrading
    • Pre-production and development releases
    • Gateway
      • Running gateway on MikroTik routers
  • Securing gRPC communication
  • OpenID RSA key
  • Health check
  • Configuration
  • Tutorials
    • Step by step setting up a VPN server
      • Adding additional VPN locations
  • In depth
    • Architecture
      • How do VPN statistics work
      • Security concepts
    • Roadmap
    • Release cycle
  • For Developers
    • Contributing
    • Environment setup
      • Translations (core/web)
        • Switching language
        • Adding translations
      • Translations (client)
        • Adding translations
  • Resources
    • Troubleshooting Guide
      • Sending support information
      • Client Windows installer exit codes
      • Client "All traffic" connection issues
      • WebAuthn security keys
Powered by GitBook
On this page
  • Installing Wireguard/VPN client
  • Adding a device to connect to VPN

Was this helpful?

Edit on GitHub
  1. User features
  2. Configuring VPN

Other WireGuard® Clients

PreviousUpdate instanceNextConfiguring a device for new VPN Location manually

Last updated 1 month ago

Was this helpful?

Installing Wireguard/VPN client

First, you have to install Wireguard application. On this site you can find information on how to download Wireguard for any operating system.

Please note that WireGuard clients other than Defguard Desktop Client do not work with Multi-Factor Authentication and they can only be used for Locations without MFA - as the only client supporting this feature is our desktop client.

Adding a device to connect to VPN

  1. Go to your profile (My Profile - which you'll find on the navigation on the left side of the screen)

  2. Click on Add new device

  1. Now you can name your device (like Laptop, Phone, whatever you like) and then you have two options:

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)

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

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)

Choosing this option - you will need to change PrivateKey (insert the private key you hold) in the configuration file you download

  1. 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

If you have multiple VPN locations - you can choose to download configuration for each of the location - by selecting the location as shown