DefGuard Core

DefGuard Core is the management and authentication server for DefGuard, a self-hosted, zero-trust WireGuard virtual private network platform.

  • Network Services
  • Other
  • Productivity
  • Security
  • Tools & Utilities
DefGuard Core is the management and authentication server for DefGuard, a self-hosted, zero-trust WireGuard virtual private network platform. It provides user management, multi-factor authentication for every VPN connection, device policies, and an admin dashboard with an API. It suits homelabbers and teams who need a self-hosted VPN with identity-aware access. Use it as the central component for DefGuard gateways or proxies, because those components depend on it for authentication and access decisions.

Platform availability

Available on 4 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox
  • Helm (not listed)
  • Mac
  • Windows (not listed)
  • Linux (not listed)
  • Any server

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

84/100 Excellent

Maintained
100last commit 24 days ago
Popular
692,893 GitHub stars
Easy to install
654 install platforms, install notes, Docker image
Light to run
No data
Security check
88no serious findings, 2 minor, CI, tests

Based on 4 of 5 factors.

Availability: platform listings confirmed today, links checked 55 days ago

GitHub stars
2,893
Open issues
307
Last commit
2026-10-28
Latest release
v2.1.1
Activity
declining

Checked 21 days ago - source: GitHub (DefGuard/defguard)

Resources & Compatibility

Requirements not published yet.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Install Defguard Core from the package Use admin rights to run sudo apt install defguard and add the main Defguard Core service. Without it, there is no dashboard, user accounts, or VPN management to configure. source
  • Open 8000/50055, keep 5432 private Open 8000 for the Defguard web/API and 50055 for VPN traffic, but keep Postgres on 5432 internal. If 8000/50055 are blocked you can't use the dashboard or VPN, and exposing 5432 can let attackers reach your database. source
  • Back up the Postgres database Defguard Core stores users, devices, and VPN settings in a Postgres database. If you lose that data, you can be locked out and have to recreate your setup. source

Fetched 54 days ago - each note links to its source

Alternatives (11)

  • Fossorial Pangolin - Open-source identity-based remote access platform using WireGuard, offering unified management, tunneled connections, granular access contr…
  • Headscale - Headscale is an open-source, self-hosted implementation of the Tailscale control server.
  • LogMeIn Hamachi - Seamlessly connects devices and networks, extending LAN-like connectivity to mobile users and teams with a secure, hosted VPN service.
  • NetBird - NetBird is an open-source Zero Trust networking platform that makes it easy for engineers to create fast, secure, and private networks with…
  • OpenVPN Connect - OpenVPN Connect provides flexible VPN solutions to secure your data communications, whether it's for Internet privacy, remote access for em…
  • Outline VPN - Journalists need safe access to information to research issues, communicate with sources, and report the news.
  • SoftEther VPN - SoftEther VPN ("SoftEther" means "Software Ethernet") is one of the world's most powerful and easy-to-use multi-protoco…
  • Tailscale - Private networks made easy.
  • WireGuard - WireGuard is a fast, lightweight virtual private network (VPN) server that creates encrypted point-to-point tunnels for secure remote acces…
  • ZeroTier - ZeroTier is an open-source, cross-platform virtual LAN/VPN service that connects your devices and servers into one private network, so you…
  • nostr vpn - Nostr VPN turns your Umbrel into a private mesh VPN node for your own devices and trusted groups.

Checked 41 days ago - source: AlternativeTo

Common questions

How do I install DefGuard Core on a Debian-based host?

Install the defguard package with admin rights using sudo apt install defguard and add the main Defguard Core service. Without this service there is no dashboard, user accounts, or VPN management.

Which ports should I open for DefGuard Core and its VPN traffic?

Open port 8000 for the Defguard web/API and port 50055 for VPN traffic. Keep Postgres on 5432 internal because exposing it can let attackers reach the database.

What should I back up to avoid losing DefGuard Core access?

Back up the Postgres database, because Defguard Core stores users, devices, and VPN settings there. Losing that data can lock you out and force you to recreate your setup.

Can DefGuard use Google or Microsoft for SSO?

Defguard supports external OIDC identity providers, including Google and Microsoft. It also has an internal OIDC provider for SSO.

Does DefGuard have mobile clients?

Defguard provides Android and iOS mobile clients. They support VPN management, MFA, and QR code onboarding.

How can I migrate from Defguard 1.6 to 2.0?

Use the Defguard migration guides, which include a guide for moving from Defguard 1.6 to 2.0. Server migration and licence transfer are also documented.

Answers sourced from docs.defguard.net, docs.defguard.net, docs.defguard.net, github.com

Community

Collected 4 days ago - public community threads