Self-Hosted Remote Access: VPN, Tunnels and Remote Desktop
Self-hosted remote access means running your own gateway to reach private services, networks and desktops: a tunnel such as Pangolin to publish internal apps without opening ports, a WireGuard VPN such as WG-Easy to join a private network, or a remote desktop gateway such as Apache Guacamole to open machines in the browser. Your traffic goes through a server you control. With Elestio, deploy one in a few clicks, fully managed, on the cloud provider and region of your choice.
Last updated:
Why self-host
Why self-host your remote access?
Traffic through your own server
With a hosted tunnel or VPN service, your traffic passes through the provider's network. Self-hosted, it goes through a gateway you control.
No per-user pricing
Commercial VPN and zero trust services bill per user. A self-hosted gateway runs at a fixed price per instance on Elestio.
Choose where the gateway runs
Place it close to your users or to the network it protects, among Elestio's 10 cloud providers and 100+ regions.
Open and auditable
WireGuard, Guacamole and Pangolin's open source core can be inspected, and you control their configuration and logs.
Compliance made easier
Choose where access logs and session data are stored, including EU-owned providers. Elestio is SOC 2 and ISO 27001 certified.
Patched and monitored
A gateway exposed to the internet must stay patched. Elestio applies software and security updates, runs automated backups and monitors the service.
The tools
3 remote access tools you can self-host
These three tools cover three different uses rather than competing with each other. Pangolin has an open source core, with some files under a commercial license.
Pangolin
Tunnel and reverse proxy, no open ports
Publishes web apps and services from your private networks through encrypted tunnels: a lightweight connector on the remote site dials out to your Pangolin server, so you open no inbound port there. Built-in authentication and access rules protect each resource. A self-hosted alternative to Cloudflare Tunnel.
Best for: exposing internal apps on your own domain, with authentication, without opening ports at home or in the office.
Deploy Pangolin →WG-Easy
WireGuard VPN with a web interface
Runs a WireGuard VPN server and gives you a web interface to create clients, download their configuration or scan a QR code on a phone, and see who is connected.
Best for: giving your team full access to a private network or securing traffic on public Wi-Fi.
Deploy WG-Easy →Apache Guacamole
Remote desktop in the browser
A clientless remote desktop gateway: open RDP, VNC and SSH sessions in a web browser, with nothing to install on the user's device. Supports authentication extensions (TOTP, LDAP, OpenID Connect, SAML) and session recording.
Best for: opening Windows, Linux or SSH sessions from any browser, for support or remote work.
Deploy Apache Guacamole →Comparison
Which tool for which use
| Tool | Use | How users connect | Protocols | Client to install | Authentication | Domain name | License | From |
|---|---|---|---|---|---|---|---|---|
| Pangolin | Publish internal apps | Web browser or tunnel client | HTTP(S), TCP, UDP over WireGuard tunnels | ~ Connector on the remote site only | ✓ Built-in, with SSO | ✓ Required | AGPL 3.0 core + commercial | $16/mo |
| WG-Easy | Join a private network | WireGuard app | WireGuard (UDP) | ✓ WireGuard app | ~ Per-client keys | ~ Optional | AGPL 3.0 | $11/mo |
| Apache Guacamole | Remote desktops and SSH | Web browser | RDP, VNC, SSH | ✗ None, browser only | ✓ TOTP, LDAP, OIDC, SAML extensions | ~ Recommended | Apache 2.0 | Not listed |
How to pick
Which one should you choose?
You want to publish an internal app without opening ports
You are replacing Cloudflare Tunnel
Your team needs access to a whole private network
You want to open Windows or Linux desktops from a browser
You need SSH access without a VPN client
You want to record remote desktop sessions
Limits
What to expect
A remote access gateway is a target. Turn on strong authentication with MFA wherever the tool supports it, limit who can connect, and keep the software up to date. Elestio applies software and security updates; access rules and user accounts remain yours.
Pangolin needs a domain name for the resources it publishes, and its tunnels use WireGuard over UDP.
VPN throughput depends on the server. WireGuard is efficient, but speed still depends on the CPU and bandwidth of the plan you choose. WG-Easy uses the standard WireGuard UDP port 51820, which its Elestio template declares.
Get started
Deploy your remote access gateway in 3 steps
Pick your tool
Pangolin, WG-Easy or Apache Guacamole, or any of the 400+ open source software in our catalog.
Choose provider and region
10 cloud providers, including AWS, Azure, Hetzner, DigitalOcean and OVHcloud, or bring your own VM.
Deploy
Ready in minutes. Installation, SSL, backups, updates, security and monitoring handled, with a 99.9% SLA.
Reviews
Trusted by 10,000+ Developers Worldwide
Real reviews from real users on Trustpilot.
"Super easy setup; great customer support! Very happy with the services."
FAQ
Frequently Asked Questions
-
What is a self-hosted alternative to Cloudflare Tunnel?
Pangolin. Like Cloudflare Tunnel, it publishes services from private networks through outgoing tunnels, so you open no inbound port on the remote site, and it adds authentication in front of each resource. The difference: the tunnels end on a server you control, on your own domain, instead of a third-party network.
-
VPN vs tunnel: which one do I need?
A VPN such as WG-Easy puts the user's device inside your private network: useful when people need many internal services, file shares or SSH. A tunnel such as Pangolin publishes specific apps, usually on the web, with authentication: users only need a browser and only reach what you expose. Many teams use a tunnel for web apps and a VPN for administrators.
-
Can I access Windows desktops from a browser?
Yes, with Apache Guacamole. It connects to Windows machines over RDP, and to Linux machines over VNC or SSH, and displays the session in any modern browser, with nothing to install on the user's device. The target machines must be reachable from the Guacamole server.
-
Is a self-hosted VPN secure?
WireGuard uses modern cryptography and a small codebase, which makes it a solid base. Security then depends on how you run it: protect the admin interface, give each person their own client key, revoke keys when someone leaves, and keep the server updated. On Elestio, the server and the software are kept up to date for you.
-
Do I need a static IP or a domain name?
Your Elestio server already has a public address, so you do not need a static IP at home or in the office: Pangolin connectors and WireGuard clients connect out to it. Pangolin requires a domain name for the resources it publishes; for WG-Easy and Guacamole, a domain is optional but recommended.
Ready to run your own remote access?
Deploy Pangolin, WG-Easy or Apache Guacamole in minutes, fully managed by Elestio.
Get started