frp

Open source

frp is an Apache-2.0 reverse proxy written in Go that exposes servers behind a NAT or firewall to the internet over TCP, UDP, HTTP and HTTPS.

Open-source alternative to

GitHub stars
111k
Last 30 days
+724(+1%)
Last commit
3 days ago
Repository age
10 years
Version
v0.72.0
Licence
Apache-2.0
Self-hosted
Yes

About frp

frp is a reverse proxy for reaching a local server that sits behind a NAT or firewall from the public internet. It supports TCP and UDP as well as HTTP and HTTPS, so requests can be forwarded to internal services by domain name. It also has a P2P connect mode.

The README's table of contents shows how wide the feature set is. It covers a server dashboard and a client admin UI, Prometheus monitoring, token and OIDC authentication, encryption and compression, TLS, bandwidth limits per proxy, TCP stream multiplexing, KCP and QUIC protocol support, load balancing and health checks.

Examples in the README include reaching a machine over SSH inside a LAN, sharing one port between several SSH services, serving internal web apps on custom domains, forwarding DNS queries and Unix domain sockets, and exposing a simple HTTP file server. Version 1 is in maintenance mode while the author works on an incompatible version 2.

Key features

  • Exposes local servers behind NAT or firewalls
  • Supports TCP, UDP, HTTP and HTTPS
  • Peer-to-peer connect mode
  • Token and OIDC authentication for clients
  • KCP and QUIC protocol support
  • Server dashboard, client admin UI and Prometheus monitoring
  • Per-proxy bandwidth limits and port range mapping
  • SSH tunnel gateway and virtual network features

Good fit for

  • SSH into a machine inside a LAN
  • Serve internal web apps on custom domains
  • Forward DNS queries
  • Expose a simple HTTP file server
Built with
Go tools
Tags
reverse-proxy
tunnel
nat-traversal
go
networking
self-hosted
p2p

frp: questions and answers

What is frp used for?
frp is an Apache-2.0 reverse proxy written in Go that exposes servers behind a NAT or firewall to the internet over TCP, UDP, HTTP and HTTPS. It is a good fit for SSH into a machine inside a LAN, serve internal web apps on custom domains and forward DNS queries.
Is frp open source?
Yes. frp is open source under the Apache-2.0 licence. Its source code is on GitHub at fatedier/frp and is written mainly in Go.
Is frp free?
Yes. frp is open source, so the software itself is free to use.
Can I self-host frp?
Yes. frp can be self-hosted on your own server or infrastructure.
What is frp an alternative to?
frp is an open-source alternative to ngrok, Cloudflare Tunnel and Tailscale. Other open-source alternatives to ngrok include Zrok, Pangolin and Octelium.
Is frp actively maintained?
Yes. The most recent commit to frp was on 10 November 2026, and the latest release is v0.72.0, published on 4 November 2026. The project has 111k stars on GitHub, with 724 added in the last 30 days.

Open-source alternatives to frp

See all

SaaS alternatives to frp

See all