frp
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.
- GitHub stars
- 111k
- Last commit
- 3 days ago
- Latest release
- v0.72.0
- Licence
- Apache-2.0
- Self-hosted
- Yes
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



























