4 open source alternatives to ngrok & localtunnel

Tunnel services are convenient for demos and webhooks but route your traffic through a third party. These open source alternatives let you expose local services through a server you control.

4 open source alternativesOfficial website
#1

fatedier/frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

Why it works The most widely deployed self-hosted tunnel.

110.9K·Apache-2.0·Go
#2

rathole-org/rathole

A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.

Why it works Lighter than frp, same idea.

14.5K·Apache-2.0·Rust
#3

ekzhang/bore

🕳 bore is a simple CLI tool for making tunnels to localhost

Why it works Simplest possible ngrok clone.

11.6K·MIT·Rust·Self-hosted

Compare at a glance

RepositoryStarsLicenseLanguageSelf-hostedLast push
fatedier/frp110.9KApache-2.0Go–21 days ago
rathole-org/rathole14.5KApache-2.0Rust–3 months ago
ekzhang/bore11.6KMITRustYes10 months ago
localtunnel/localtunnel22.5KMITJavaScript–over 1 year ago

Stats are refreshed from GitHub every hour. Always check the repository before adopting a project.

More Dev Tools alternatives

Stop overpaying for software

Browse the hand-picked open source alternatives, or see which new GitHub repos are gaining stars this week.