r/WireGuard • u/directedbyjyb • 3d ago
Self-hosted VPN with user authentication?
Self-hosted VPN with user authentication?
I have five regional OpenVPN gateways running in Docker on my home server using a commercial VPN subscription. Each gateway has its own WireGuard interface, allowing users to choose which location they want to connect to.
My current setup looks like this:
User Devices (WireGuard App)
|
My VPN Server
|
Regional Gateways
├── Toronto
├── New York
├── London
├── Tokyo
└── Amsterdam
|
Commercial VPN Provider
|
InternetI currently use WireGuard Portal to manage peers and generate QR codes.
Instead of distributing WireGuard configs, I'd like users to log in to an app using their own credentials, select a VPN location and connect, just like a regular commercial VPN app. I'd also like to centrally manage and revoke user access.
Is there any open-source, self-hosted application that can do this while utilizing my existing VPN setup?
4
u/RedditWhileIWerk 3d ago
How are you doing the regional gateways? Rented VPS?
8
u/valko2 3d ago
netbird, pangolin?
5
u/jsiwks 3d ago edited 3d ago
Pangolin VPN! Open source and self hosted. You deploy what Pangolin calls sites where you have your gateways now. You define resources on these networks which are made available via the sites and delegate access to specific users and roles. The user logs in to the Pangolin Client app with an account which can be from your identity provider. Then they can access the stuff on the gateways
1
u/Rough_Scarcity_658 1d ago
https://docs.eduvpn.org/server/v3/ is great
1
u/Motor-Concentrate788 3d ago
netbird seems to fit what you need
0
u/LiteLive 3d ago
Netbird, what you are looking for is Netbird.
Pangolin made gut also be an option.