DefGuard

defguard: Manage Secure VPN and Identity Access

Defguard is a self-hosted platform for managing WireGuard VPN access, identity, and multi-factor authentication. It suits organizations that want centralized control over network access and authentication inside their own infrastructure.

View on GitHub Compare
Stars
2.9k
Forks
119
Stars, last 30 days
+48

Our take

Health score

75/100

How it is scored
Activity
81
Community
68
Issues
65
Pull requests
84

+48 stars in the last 30 days

  • Merges more pull requests than 96% of the projects we track
  • Releases more often than 78% of the projects we track

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

2,918

Forks

121

Change since Nov 14, 2026: +1 stars·0 forks

Overview

Defguard combines VPN access management, identity services, and MFA in one self-hosted platform. It is designed to reduce the need to operate separate systems for user identity, VPN access, and network permissions, while keeping control of deployment and data within an organization’s infrastructure.

Its component-based design separates the central management plane from public-facing access and network policy enforcement. This can suit teams that need connection-level MFA and per-user or per-group access rules, but it also means deployment planning and operations matter.

Key Features

  • WireGuard VPN management with multiple locations, device self-service, and access controls per location.
  • MFA for VPN connections and authentication, with TOTP, WebAuthn/FIDO2, email tokens, and mobile-app biometrics.
  • Internal OIDC provider and support for external OIDC identity providers, plus LDAP/AD synchronization.
  • Firewall rules that allow or deny VPN-location access by user or group.
  • Desktop and mobile clients for VPN management and MFA.
  • Activity logging, REST API, and webhooks; real-time SIEM streaming is listed as an Enterprise capability.

Use Cases

  • IT and security teams can manage employee VPN access and require MFA when users connect to private networks.
  • Organizations with multiple network locations can apply different access policies by user or group.
  • Teams that need single sign-on can use the internal OIDC provider or connect external OIDC identity providers.
  • Administrators can synchronize identities from LDAP/AD while centralizing VPN enrollment and access management.

Getting Started

For testing, demonstrations, and evaluation, the README provides a one-line installer:

bash <(curl -sSL https://raw.githubusercontent.com/defguard/deployment/main/docker-compose2.0/setup.sh)

This installer is not recommended for production. Consult the deployment documentation for production guidance, and the README for project details.

Alternatives

  • EasyTier: EasyTier focuses on decentralized device and subnet connectivity with NAT traversal, while Defguard adds centralized WireGuard access management and authentication.
  • nebula: Nebula is a certificate-based overlay network with group traffic rules, while Defguard manages WireGuard access alongside identity and MFA.
ProjectLanguageLicenseStarsStatus
defguardRustOther2.9kNot checked yet
EasyTierRustLGPL-3.013.9kActive
nebulaGoMIT18.4kActive

Considerations

  • The quick-start installer is intended for evaluation, not production deployments. Production use requires following the deployment and architecture guidance.
  • Defguard is self-hosted, so operators are responsible for running and securing the deployment.
  • The repository describes a dual licensing model: the open-source core is AGPL, while enterprise code is covered by a separate Enterprise License. The supplied repository metadata reports the license as NOASSERTION, so review the license files before use.
  • Some capabilities, including real-time SIEM streaming, are identified as Enterprise features.

Found this useful?

Share it with someone who would like defguard.

Comparisons