Home

Awesome

<div align="center"> <p align="center"> Defguard is a <strong>true Zero-Trust WireGuard® VPN with 2FA/Multi-Factor Authentication</strong>, as each connection requires MFA (and not only when logging in into the client application like other solutions) <img width="1096" alt="zero-trust" src="https://github.com/user-attachments/assets/a3bed030-0d82-4f8c-9687-01cc5780eff7" /> Our primary focus at defguard is on prioritizing security. Then, we aim to make this challenging topic both useful and as easy to navigate as possible.

Website | Getting Started | Features | Roadmap | Support ❤

</div>

Defguard provides Comprehensive Access Control (a complete security platform):

See:

Defguard makes it easy to manage complex VPN networks in a secure way

<img width="1564" alt="locations-connections" src="https://github.com/user-attachments/assets/f886750b-1d4e-467e-917d-bc19a86e275c" />

Video introduction

Bear in in mind we are no youtubers - just engineers - here is a video introduction to defguard:

<div align="center"> <p align="center">

Introduction to defguard

</p> </div>

Control plane management (this video is few versions behind... - a lot has changed!)

Better quality video can be viewed here

Desktop Client with 2FA / MFA (Multi-Factor Authentication)

Light

defguard desktop client

Dark

defguard WireGuard MFA

Desktop client:

Quick start

The easiest way to run your own defguard instance is to use Docker and our one-line install script. Just run the command below in your shell and follow the prompts:

curl --proto '=https' --tlsv1.2 -sSf -L https://raw.githubusercontent.com/DefGuard/deployment/main/docker-compose/setup.sh -O && bash setup.sh

Here is a step-by-step video about this process:

<div align="center"> <p align="center">

Quickly deploy defguard

</p> </div>

To learn more about the script and available options please see the documentation.

Setup a VPN server in under 5 minutes !?

Just follow this tutorial

Manual deployment examples

Roadmap & Development backlog

A detailed product roadmap and development status can be found here

⛑️ Want to help? ⛑️

Here is a dedicated view for good first bugs

Why?

The story and motivation behind defguard can be found here: https://teonite.com/blog/defguard/

Features

Documentation

See the documentation for more information.

Community and Support

Find us on Matrix: #defguard:teonite.com

License

The code in this repository is available under a dual licensing model:

  1. Open Source License: The code, except for the contents of the "src/enterprise" directory, is licensed under the AGPL license (see file LICENSE.md in this repository). This applies to the open core components of the software.
  2. Enterprise License: All code in this repository (including within the "src/enterprise" directory) is licensed under a separate Enterprise License (see file src/enterprise/LICENSE.md).

Contributions

Please review the Contributing guide for information on how to get started contributing to the project. You might also find our environment setup guide handy.

Built and sponsored by

<p align="center"> <a href="https://teonite.com/services/rust/" target="_blank"><img src="https://drive.google.com/uc?export=view&id=1z0fxSsZztoaeVWxHw2MbPbuOHMe3OsqN" alt="built by teonite" /></a> </p>

Legal

WireGuard® is registered trademarks of Jason A. Donenfeld.