ngrok alternatives compared
| Project | Licence | Type | Self-host | Cloud option | GitHub stars |
|---|---|---|---|---|---|
| frp | Apache-2.0 | Self-hosted | ✓ Yes | — | ★ 111k |
The 1 open source alternatives to ngrok
frp exposes services behind NAT or a firewall to the internet through your own server. It supports TCP, UDP, HTTP and HTTPS, and is the most popular self-hosted ngrok replacement.
- TCP, UDP, HTTP and HTTPS
- Custom domains
- P2P mode
- Dashboard
How to choose an open source alternative to ngrok
Check HTTP and TCP tunnels, custom domains, TLS and whether you can run the relay on your own VPS.
If you want your data on your own server, look at frp.
Not sure where to start? Browse all backend, hosting & auth projects.
ngrok alternatives: FAQ
What is the best open source alternative to ngrok?
frp is the most complete open source alternative to ngrok on our list. The best choice depends on what you need: Check HTTP and TCP tunnels, custom domains, TLS and whether you can run the relay on your own VPS.
Is there a free alternative to ngrok?
Yes. Every alternative listed here is open source, so the software itself is free to use.
Can I self-host an alternative to ngrok?
Yes: frp can be installed on your own server, so your data stays on infrastructure you control.
Why switch from ngrok to open source software?
ngrok is proprietary software owned by ngrok Inc.: you can't see the code, and pricing, features and terms can change at any time. Open source alternatives publish their code under licences such as Apache-2.0, can be audited by anyone, and can't lock you in, because the software can always be forked or self-hosted.