Other

项目介绍

DefGuard/defguard 是一个托管在 GitHub 上的开源项目,主要使用 Rust 编写,采用 Other 许可证,目前获得 2.9k 个 Star、121 次 Fork。

仓库全名
DefGuard/defguard
开源许可证
Other
Star 数
2.9k
Fork 数
121
未关闭 Issue
313

README 摘要

Defguard is an enterprise-grade open-source VPN solution built with the highest security standards in mind. It provides the world’s only multi-factor authentication (MFA) for WireGuard VPN connections, using either its built-in SSO (with TOTP, biometrics, etc.) or external SSO providers such as Google, Microsoft, Active Directory/LDAP, Okta, JumpCloud or any other OpenID Connect Provider. Website | Getting Started |…

完整内容见 GitHub 原始 README 或本页 。

常见问题

defguard 用什么语言开发?

主要使用 Rust 编写,采用 Other 许可证,目前有 2.9k 个 Star。

defguard 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 defguard 的源码?

可以直接克隆仓库:git clone https://github.com/DefGuard/defguard.git,默认分支为 stable/2.x;安装与运行步骤见仓库 README。

defguard 最近还在维护吗?

仓库最近一次更新为 1 天前,当前有 313 个未关闭 Issue;Star 数为 2.9k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

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

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
3161
价值分
1763
活跃状态
活跃

语言占比

Dockerfile
HTML
JavaScript
Just
Nix
PLpgSQL
Rust
SCSS
Shell
TypeScript

Release

README

defguard

Defguard is an enterprise-grade open-source VPN solution built with the highest security standards in mind. It provides the world’s only multi-factor authentication (MFA) for WireGuard VPN connections, using either its built-in SSO (with TOTP, biometrics, etc.) or external SSO providers such as Google, Microsoft, Active Directory/LDAP, Okta, JumpCloud or any other OpenID Connect Provider.

Website | Getting Started | Features | Roadmap | Support ❤

Open, transparent, verifiable and inspectable

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

See:

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

locations-connections
Video introduction

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

Introduction to defguard

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:

  • 2FA / Multi-Factor Authentication with TOTP or email based tokens & WireGuard PSK
  • automatic and real-time synchronization for users’ desktop client settings (including all VPNs/locations).
  • Control users ability to manage devices and VPN options
  • Defguard instances as well as any WireGuard tunnel - just import your tunnels - one client for all WireGuard connections
  • Secure and remote user enrollment - setting up password, automatically configuring the client for all VPN Locations/Networks
  • Onboarding - displaying custom onboarding messages, with templates, links …
  • Ability to route predefined VPN traffic or all traffic (server needs to have NAT configured - in gateway example)
  • Live & real-time network charts
  • live VPN logs
  • light/dark theme

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:

Quickly deploy defguard

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

Features

Documentation

See the documentation for more information.

Community and Support

Reach out to our community via GitHub Discussions

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 “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.
  2. 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).

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.

Verifiability of releases

We provide following ways to verify the authenticity and integrity of official releases:

Docker Image Verification with Cosign

All official Docker images are signed using Cosign. To verify a Docker image:

  1. Install cosign CLI

  2. Verify the image signature (replace <IMAGE_TAG> with the tag you want to verify):

    cosign verify --certificate-identity-regexp="https://github.com/DefGuard/defguard" \
      --certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
      ghcr.io/defguard/defguard:<IMAGE_TAG>
    

Release Asset Verification

All release assets (binaries, packages, etc.) include SHA256 checksums that are automatically generated and published with each GitHub release:

  1. Download the release asset and copy its corresponding checksum from the releases page

  2. Verify the checksum:

    # Linux/macOS
    echo known_sha256_checksum_of_the_file path/to/file | sha256sum --check
    

WireGuard® is registered trademarks of Jason A. Donenfeld.

评论

暂无评论