# Defguard Gateway

Defguard Gateway is the server-side component of Defguard, a self-hosted Zero-Trust WireGuard® VPN platform with mandatory multi-factor authentication (MFA) on every connection. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/2758/defguard-gateway

## Description

Defguard Gateway is the server-side component of Defguard, a self-hosted Zero-Trust WireGuard® VPN platform with mandatory multi-factor authentication (MFA) on every connection. It manages VPN server configuration, user access control, and network policies for self-hosters and organisations needing secure, self-managed remote access.

## Platform availability

Available on 2 of 10 platforms: Unraid, Mac.

## Desktop and other devices

Mac.

## Health score

73/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 17 days ago)
- Popular: 31 (34 GitHub stars)
- Easy to install: 45 (2 install platforms, install notes, Docker image)
- Security check: 100 (no serious findings, CI, tests)

## Links

- GitHub: https://github.com/DefGuard/gateway
- desktop: https://github.com/DefGuard/gateway/releases/latest
- Unraid: https://ca.unraid.net/apps/defguard-gateway-1vb7ezf14h4t0v?q=defguard---Gateway
- Official website: https://defguard.net/
- Documentation: https://docs.defguard.net/

## Common questions

### What ports should I check after a Docker-based Defguard Gateway install?

Confirm that the defguard-db-1 and defguard-core-1 containers are running, and that port 8000 for the web/API and port 50055 for the VPN gateway are available. If they are missing, the admin console or VPN may not be reachable.

### Which packages do I need on the gateway and end-user machines for a package-based install?

Install defguard-gateway on the machine acting as the Gateway and defguard-client on end-user computers. If you skip the package you need, the relevant service will not exist, so users cannot connect or manage the Gateway.

### What Debian-specific client issue can prevent the VPN tunnel from connecting?

Install openresolv on Debian desktop computers before connecting to the VPN. It helps the system update DNS/resolver settings, and without it the VPN tunnel can fail to establish.

### How do I add a remote Defguard Gateway for another location?

Create a new location in Defguard, then install defguard gateway on the remote VPS/server so it connects via defguard gRPC and manages that instance. Defguard generates a one-command line you can copy and paste on the server.

### Can Defguard use external identity providers for SSO/MFA?

Yes. It supports external SSO MFA/2FA with major identity providers such as Google, Microsoft, Okta, and JumpCloud, as well as other OIDC-compliant IdPs. It can also integrate with LDAP and Active Directory directory synchronization.

## Alternatives

- 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 (&quot;SoftEther&quot; means &quot;Software Ethernet&quot;) 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.

---
Source: Our Local Host (https://ourlocalhost.com/app/2758/defguard-gateway), the self-hosted and open-source app directory.
