A fast reverse proxy to expose a local server behind a NAT or firewall to the internet
open sourceApache-2.0self-hostablefree
frp is a fast reverse proxy that exposes a local server behind a NAT or firewall to the internet through a server you run with a public address. You run frps on that server and frpc next to the service, and frp forwards TCP, UDP, HTTP and HTTPS traffic, routing HTTP by domain name, with a P2P mode for direct connections between clients. It has token and OIDC authentication, TLS, encryption and compression, port reuse, bandwidth limits, TCP stream multiplexing and KCP and QUIC transports, a server dashboard, a client admin UI, Prometheus metrics, hot-reloading of the client's configuration and server plugins. It's a self-hosted alternative to ngrok and Cloudflare Tunnel (cloudflared).
Problems it solves
- expose a local server behind NAT or a firewall to the internet with my own VPS
- self-hosted alternative to ngrok for reaching my home server
- SSH into a machine on my home network from outside without a public IP
- serve several internal web apps through one public server by domain name
- forward UDP or TCP ports through a server I control
Features
- TCP, UDP, HTTP and HTTPS forwarding
- HTTP routing by custom domain
- P2P mode
- token and OIDC authentication
- TLS, encryption and compression
- KCP and QUIC transports, TCP stream multiplexing
- server dashboard and client admin UI
- Prometheus metrics
- bandwidth limits and port reuse
- server plugins
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what frp does.
- rathole A secure, stable and high-performance reverse proxy for NAT traversal, written in Rust
- sish HTTP(S), WS(S) and TCP tunnels to localhost using only SSH
- bore Minimal TCP tunnel that exposes local ports through a remote server
- ngrok Start on localhost, ship to prod.
- Cloudflare Tunnel (cloudflared) Cloudflare Tunnel client
- sshuttle Where transparent proxy meets VPN meets ssh
