defguard

DefGuard活跃维护

基于 WireGuard 的零信任访问管理平台,内置真正的双因素/多因素认证,可替代传统 VPN 做细粒度权限控制。

Zero-Trust access management with true WireGuard® 2FA/MFA

v2.2.0发布于 2026-11-06 08:17 UTC2,908star +4 / 7 天121fork同步于 2026-11-10 05:41 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v2.2.0
  1. v2.2.0最新正式版2026-11-06 · 2026-11-06 08:17 UTC

    📦 About this release

    Configure exactly how users authenticate with multi-step MFA, including FIDO2 security keys. Administrators have full control over MFA flows for each location, with stronger authentication options for high-security environments.

    Users can now configure their Multi-Factor Authentication (MFA) factors directly in the desktop application at any time, even after enrolment. Admins can enforce stronger security without disrupting access, while users manage their authentication seamlessly.

    The Mobile Client has also been redesigned, joining the rest of the refreshed Defguard family.

    Read more about this release on our blog.

    ✨ What's new

  2. v2.2.0-beta1pre-release2026-10-12 · 2026-10-12 12:48 UTC
    查看更新说明

    [!WARNING] This is a beta release, not meant for production use. Use it to test brand-new functionalities.

    About this release

    Configure exactly how users authenticate with multi-step MFA, including FIDO2 security keys. Administrators have full control over MFA flows for each location, with stronger authentication options for high-security environments.

    Users can now configure their Multi-Factor Authentication (MFA) factors directly in the desktop application at any time, even after enrolment. Admins can enforce stronger security without disrupting access, while users manage their authentication seamlessly.

    The mobile client has also been redesigned, joining the rest of the refreshed Defguard family.

    ✨ What's new

    🧪 How to test

    🚀 Quickly run the latest server components using one-line-script in pre-release mode.

    🔄 Worried that your users have to upgrade the client applications? Here you can check the client vs server feature compatibility matrix.

    🙋 Feedback

    We want to get as much feedback as possible, so we encourage you to: 💬 open a GitHub discussion 🪲 report any missing features or bugs as issues

    Full changelog

  3. v2.1.12026-10-05 · 2026-10-05 13:00 UTC
    查看更新说明

    This is a patch release for v2.1 that includes the following fixes:

    Full Changelog: https://github.com/DefGuard/defguard/compare/v2.1.0...v2.1.1

    2.1 makes the device itself part of the access decision - admins define the security criteria a machine must meet, and non-compliant endpoints simply can't establish a connection - and it ships a rebuilt Desktop Client whose tray mode gets your users onto the VPN in two clicks.

    🛡️ Device Posture verification - client and OS version, security updates, AD membership, antivirus, disk encryption, 🖥️ a redesigned Desktop Client with tray mode, ⌨️ defguard-client - drive the client from a terminal, MFA included, 🔒 Allowed IPs generated from Firewall Rules - least-privilege configs, no network recon, 🐧 service locations on Linux - Always-on VPN from system boot, 🧩 official support for running Defguard Gateway on VyOS as a container.

    More details with videos in this blogpost.

    🔐 As always, this release was pentested by ISEC, together with Striga.AI - all major findings were fixed before release. The full report will be published on our pentesting page.

    📖 Documentation for the new features:

    🚅 If you would like to test Defguard, we offer a quick and easy One-line install script.

    ⚠️ Device Posture verification, Service locations and Generate Allowed IPs from Firewall Rules are Enterprise features. Business features require free registration. 👉 https://defguard.net/get-free-business/ Once registered, simply apply your license to your instance.

    We want to get as much feedback as possible, so we encourage you to: 💬 open a GitHub discussion 🪲 report any missing features or bugs as issues

  4. v2.2.0-alpha1pre-release2026-09-21 · 2026-09-21 08:38 UTC
    查看更新说明

    [!WARNING] This is an early alpha release, not meant for production use. Use it to test brand-new functionalities.

    About this release

    Configure exactly how users authenticate with multi-step MFA, including FIDO2 security keys. Administrators have full control over MFA flows for each location, with stronger authentication options for high-security environments.

    The mobile client has also been redesigned, joining the rest of the refreshed Defguard family.

    ✨ What's new

    🧪 How to test

    🚀 Quickly run the latest server components using one-line-script in pre-release mode.

    🔄 Worried that your users have to upgrade the client applications? Here you can check the client vs server feature compatibility matrix.

    🙋 Feedback

    We want to get as much feedback as possible, so we encourage you to: 💬 open a GitHub discussion 🪲 report any missing features or bugs as issues

    Full changelog

  5. v2.1.02026-09-04 · 2026-09-04 06:43 UTC
    查看更新说明

    🎉 Welcome to Defguard 2.1 🎉

    2.1 makes the device itself part of the access decision - admins define the security criteria a machine must meet, and non-compliant endpoints simply can't establish a connection - and it ships a rebuilt Desktop Client whose tray mode gets your users onto the VPN in two clicks.

    🛡️ Device Posture verification - client and OS version, security updates, AD membership, antivirus, disk encryption, 🖥️ a redesigned Desktop Client with tray mode, ⌨️ defguard-client - drive the client from a terminal, MFA included, 🔒 Allowed IPs generated from Firewall Rules - least-privilege configs, no network recon, 🐧 service locations on Linux - Always-on VPN from system boot, 🧩 official support for running Defguard Gateway on VyOS as a container.

    More details with videos in this blogpost.

    🔐 As always, this release was pentested by ISEC, together with Striga.AI - all major findings were fixed before release. The full report will be published on our pentesting page.

    📖 Documentation for the new features:

    🚅 If you would like to test Defguard, we offer a quick and easy One-line install script.

    ⚠️ Device Posture verification, Service locations and Generate Allowed IPs from Firewall Rules are Enterprise features. Business features require free registration. 👉 https://defguard.net/get-free-business/ Once registered, simply apply your license to your instance.

    We want to get as much feedback as possible, so we encourage you to: 💬 open a GitHub discussion 🪲 report any missing features or bugs as issues

    What's Changed

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Defguard is a self-hosted secure remote access platform that combines WireGuard VPN, identity and access management, multi-factor authentication, and network access control in a single solution.

    Built with a security-first architecture, Defguard helps organizations securely manage access to infrastructure, applications, and private networks while maintaining full control over their environment.

    Why Defguard?

    Modern organizations often rely on multiple disconnected tools to manage identity, VPN access, authentication, and network permissions. Defguard brings these capabilities together into a unified platform designed for security, transparency, and operational simplicity.

    Key principles behind Defguard:

    For detailed security information see the secure-by-design documentation.

    Core Capabilities

    • 🌐 WireGuard VPN — multiple locations with per-location access control, MFA per connection, self-service device setup, kernel and userspace support
    • 👥 Identity & Access Management — internal OIDC provider for SSO, external OIDC (Google, Microsoft, custom), LDAP/AD sync, remote enrollment, user self-service
    • 🔑 Multi-Factor Authentication — TOTP, WebAuthn/FIDO2, email tokens, biometric via mobile app
    • 🛡️ Firewall — allow/deny rules per VPN location by user or group, applied in real time
    • 📋 Activity Log — audit log with filtering and search; real-time SIEM streaming (Enterprise)
    • 🔗 Integrations — webhooks and REST API

    Clients

    • 🖥️ Desktop (Linux, macOS, Windows) — VPN management with MFA, multi-instance and multi-location support, and real-time connection statistics. Download
    • 📱 Mobile (Android, iOS) — VPN management with MFA, QR code onboarding. Android · iOS

    Architecture

    Defguard follows a component-based architecture designed to reduce attack surface and support secure deployments.

    Strict division of responsibilities and network segmentation:

    • Core — central management plane: identity, authentication, authorization, and policy
    • Edge — public-facing entry point, exposes selected Defguard services GitHub repo
    • Gateway — enforces network access policies for protected resources GitHub repo

    For details refer to the architecture documentation.

    Quick Start

    The fastest way to evaluate Defguard is with the one-line installer:

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

    ⚠️ Warning! This installation method is intended for testing, demonstrations, and evaluation purposes only. It is not recommended for production deployments. See the deployment documentation for production deployment guidance, architecture recommendations, and high-availability configurations.

    Documentation

    Comprehensive documentation is available at: https://docs.defguard.net

    Video guides

    Visit out YouTube channel to see our video guides.

    Community

    We want to get as much feedback as possible, so we encourage you to:

    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.

    License

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

    • Open Source License: The code, except for the contents of the "crates/defguard_core/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.
    • Enterprise License: All code in this repository (including within the "crates/defguard_core/src/enterprise" directory) is licensed under a separate Enterprise License (see file crates/defguard_core/src/enterprise/LICENSE.md).

    Legal

    WireGuard® is registered trademarks of Jason A. Donenfeld.