Comparison - Pangolin vs. defguard
Pangolin and defguard have a lot in common on paper. Both are open source under the AGPL, both run on WireGuard, both are built to be self-hosted, both integrate with identity providers and enforce MFA, and both offer desktop and mobile clients. They're aimed at different shapes of problem. defguard is an enterprise WireGuard VPN that puts identity and MFA directly on the tunnel. Pangolin is a remote access platform that combines a resource-based VPN with a reverse proxy and uses outbound connectors so the networks you reach never open a port. This article walks through the differences.
What is Pangolin?
Pangolin is an open-source zero-trust network access platform built on WireGuard. You install a lightweight connector, called a site, on a machine inside a network you want to reach. The site only makes outbound connections, so the network needs no public IP, no port forwarding, and no inbound firewall rule.
Anything the site can reach can become a resource, and you grant users, roles, and machine clients access to each one. Public resources go through Pangolin's identity-aware reverse proxy: web apps on your own domains, and SSH, RDP, and VNC sessions in the browser, all behind Pangolin login. Private resources need the Pangolin client and cover hosts, CIDR ranges, private HTTPS, pangolin ssh, and exit nodes. Clients connect to sites peer-to-peer with NAT hole punching and fall back to a relay when they can't.
You can self-host Pangolin as Community Edition (AGPLv3) or Enterprise Edition, which is free for personal use and businesses under $100,000 in annual revenue, or use Pangolin Cloud.
What is defguard?
defguard is an open-source WireGuard VPN platform built around identity and MFA. It has three server components. Core holds users, devices, policy, and configuration. Edge is the public HTTPS endpoint clients use for enrollment, configuration, and MFA. VPN Gateways run WireGuard and are the endpoints clients connect to, one or more per location, each with a reachable WireGuard port. defguard is self-hosted only.
The core is AGPLv3, with enterprise features in the same repository under a separate license. The open-source tier is free with unlimited users and locations. External SSO, firewall ACLs, LDAP sync, and the REST API need the Business tier, which is free up to 10 users and one location. High availability, posture checks, and FIDO2 MFA need Enterprise.
At a glance
| Feature | Pangolin | defguard |
|---|---|---|
| Architecture | Control plane plus outbound connectors (sites) in each network | Core, public Edge, and WireGuard Gateways per location |
| Open ports on your network | None; sites only dial out | Each Gateway needs a reachable WireGuard port |
| Data path | Client to site directly via hole punching; relay fallback | Client to Gateway |
| Access model | Users and roles per resource; ports per resource | Groups per location; firewall ACLs by user, group, IP, and port |
| MFA | TOTP and security keys, or your provider's MFA; ephemeral tunnel keys; SCIM sync; sessions revalidated against the provider | Enforced at the WireGuard layer on every connection |
| Identity provider | Built-in users or any OIDC provider; role mapping | Acts as an OIDC provider; external SSO and LDAP/AD sync |
| Browser access | Web apps on your domains; SSH, RDP, VNC in the browser | None; access through the VPN client |
| Deployment | Self-hosted or cloud; cloud with your own remote nodes | Self-hosted only; no cloud offering |
| Device trust | Posture checks, fingerprinting, per-role device approvals | Posture checks on the Enterprise tier |
| High availability | Multiple sites per resource with automatic failover; server clustering in Enterprise Edition | Active-active Edge and Gateways on the Enterprise tier |
| Open source | AGPLv3 core; enterprise features under a separate license | AGPLv3 core; enterprise features under a separate license |
Detailed comparison
Architecture and network exposure
defguard is a gateway VPN. Each location runs a Gateway with a WireGuard endpoint that clients connect to, so each Gateway needs a public address or a forwarded UDP port, and the Edge component needs a public HTTPS endpoint. That's a familiar design, and defguard keeps Core off the internet, which is a sensible security choice. It does mean every network you want to reach has an inbound path.
Pangolin's sites dial out. You can install a site on a server in an office, a factory, a home lab behind CGNAT, or a cloud VPC with no public IP, and it connects to the Pangolin server without any inbound rules. Clients then reach the site directly using NAT hole punching, use the LAN when they're on the same network, or relay through the Pangolin server when neither works. The only component that needs to be reachable is the Pangolin server itself, which you can host anywhere or replace with Pangolin Cloud.
Authentication and session security
defguard's approach centers on the moment of connection: the Gateway won't add a WireGuard peer until the user completes MFA, and each new session repeats that check.
Pangolin treats authentication as something that continues for the life of the session, not a single gate at connect time. Users sign in through Pangolin accounts or your identity provider, with Pangolin's built-in two-factor and security keys or your provider's own MFA policies, and Enterprise Edition can require two-factor for every internal user. Client tunnels use ephemeral WireGuard keys tied to that session, so there's no long-lived key or device config sitting on a laptop to steal. After sign-in, Pangolin syncs users and groups from your provider with SCIM and revalidates sessions against it every few minutes, so disabling a user in Okta or Entra ID cuts their access quickly. Session lengths are configurable, devices report posture, and per-role device approvals mean a new laptop waits for an admin before it can connect at all.
Access control
defguard grants access per location by group and, on paid tiers, adds firewall ACLs that match users, groups, or devices against IPs, ports, and protocols at each Gateway.
Pangolin grants access per resource. You define a host, a CIDR range, an SSH target, or a web app, and assign users and roles. Nothing on a site's network is reachable until you do. Private resources can be limited to specific TCP and UDP ports and ICMP, and aliases give hosts names that resolve only over the tunnel. Because a resource can list several sites, Pangolin routes each client through the best one and fails over automatically.
Pangolin can also group access settings with resource policies for public resources, available in Pangolin Cloud and Enterprise Edition. A policy holds authentication and access settings (SSO, PIN or passcode, user and role assignments, IP, country, and ASN rules) and any number of resources can link to it, so you define the baseline once and a change reaches every linked resource at the same time. Each resource can still add its own users, roles, and rules on top.
Browser access
defguard is a VPN, so all access goes through its client.
Pangolin includes an identity-aware reverse proxy. Web apps can be published on your domains with automatic certificates and opened from any browser after SSO, a PIN, a passcode, an email code, or a shareable link, with rules on path, IP, country, and ASN. SSH, RDP, and VNC sessions also work in the browser. For SSH, Pangolin can create Linux users just in time, sign five-minute certificates, apply sudo rules from roles, and log sessions and commands.
Identity
Both can work with the identity provider you already run. defguard connects to external SSO and syncs users and groups from LDAP and Active Directory, though both are features of its paid Business tier.
Pangolin is built to sit on top of your existing identity provider. It connects to Entra ID, Google Workspace, Okta, Pocket ID, Zitadel, Keycloak, or any OIDC provider. Group claims from your provider map straight to Pangolin roles, and those roles decide which resources each user can reach, so access follows the groups you already manage. Pangolin can also sync users and groups from your provider with SCIM. When someone leaves or changes teams, you update them in one place and Pangolin follows. For smaller teams or home labs without a provider, Pangolin also has built-in users.
Deployment
defguard is self-hosted only. There's no managed cloud version, so you run and maintain Core, Edge, and every Gateway yourself, and its Enterprise tier adds active-active high availability for Edge and Gateways.
Pangolin gives you the choice. You can self-host it with Docker or packages, with clustering of the Pangolin server in Enterprise Edition, or skip running the server entirely with Pangolin Cloud. Cloud can also use your own remote nodes to carry traffic, so you get a managed control plane while keeping the data path on infrastructure you control.
Which one fits
defguard fits teams that want a classic WireGuard VPN with strong MFA on every connection, who are comfortable exposing a Gateway at each location, and who are prepared to self-host every component, since there's no cloud option.
Pangolin fits teams that want to avoid inbound ports on the networks they reach, grant access to specific resources instead of locations, and give some users browser access to web apps, SSH, RDP, and VNC with no client. It can be fully self-hosted or run as a cloud service.
FAQ
Are Pangolin and defguard both open source?
Yes. Both publish their core under AGPLv3, and both keep enterprise features in the same codebase under a separate license that unlocks with a key.
Does Pangolin support MFA?
Yes. Users sign in to the client through Pangolin, with TOTP or a security key, or through your identity provider and its MFA policies. Tunnels use ephemeral keys tied to that session, users and groups sync from the identity provider with SCIM, sessions are revalidated against it every few minutes, and new devices can require admin approval.
Can defguard expose web apps without a client?
No. Pangolin's reverse proxy is built for that case.
Related comparisons
Try Pangolin
Get started with Pangolin. You can self-host the server or sign up for the cloud and try it with no commitment.
Get in touch
If you want more detail on how Pangolin can fit your setup, reach out.
About Pangolin
Pangolin is the open-source access platform that lets IT and security teams connect their workforce, AI agents, and infrastructure without the friction of legacy VPNs and stitched-together security tools. By unifying a zero-trust VPN, zero-trust reverse proxy, privileged access management, and an identity-aware AI gateway under one policy model, Pangolin helps organizations shrink their attack surface, contain stolen credentials, and pass audits with less work. Teams can roll it out one service at a time, self-hosted or on Pangolin Cloud, and verify exactly how their access is secured because every component is open source.
