Skip to content

frp

Self-hosted reverse proxy that exposes local TCP, UDP and HTTP services behind NAT

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

75

Health

Thriving

Overview

Stars

110,763

Last commit

14 days ago

Nov 2026

Repository age

10 years

since Dec 2015

Latest version

v0.72.0

Nov 2026

Contributors

–

11 active in 90 days

Releases

11

last 12 months

Language

Go

frp is a reverse proxy written in Go. It lets you expose a server behind a NAT or firewall to the internet. You run a server component on a public machine and a client on the machine hosting your service. It supports TCP, UDP, HTTP and HTTPS, and can route HTTP requests by domain name. A P2P connect mode is also available.

Features include token and OIDC authentication, TLS, KCP and QUIC transports, load balancing, health checks, bandwidth limits and connection pooling. It has a server dashboard, a client admin UI and Prometheus monitoring. Examples cover SSH access, DNS forwarding, Unix domain sockets and a simple HTTP file server.

It is Apache-2.0 licensed and acts as a self-hosted equivalent to Ngrok. It does not offer request inspection and replay or request transformation. Version 0.72.0 is current, and the project had 11 releases in the past year.

Who it's for

Developers sharing local services

You can expose a local web app or SSH over TCP, UDP or HTTP through a server you control.

Skip if: You need request inspection and replay for debugging webhooks.

Homelab users reaching machines behind NAT

A client and server pair gives you remote access to LAN services without opening router ports.

Skip if: You lack a public server to run the server component.

Teams running internal tunnel infrastructure

Token or OIDC auth, Prometheus metrics and bandwidth limits suit shared deployments.

Skip if: You want a hosted service with a developer portal.

The problem it solves

Services on your laptop or home network are not reachable from the internet. Hosted tunnels solve this but run through someone else's infrastructure. frp lets you run your own tunnel server.

Strengths

  • Supports TCP, UDP, HTTP and HTTPS, plus a P2P mode
  • Token and OIDC authentication, TLS, KCP and QUIC
  • Server dashboard, client admin UI and Prometheus monitoring
  • Apache-2.0 license, written in Go
  • Active: 11 releases in the past year

Trade-offs

  • No request inspection and replay
  • No request or response transformation
  • Needs a public server you run yourself
  • Version 2 will not be compatible with version 1

Self-host frp

Self-hostable
Yes

Frequently asked questions

Is frp free?

Yes. It is open source under the Apache 2.0 license.

Can I self-host it?

Yes. You run the server component on a publicly reachable machine and the client next to your service.

Which protocols does it support?

TCP, UDP, HTTP and HTTPS, with a P2P mode. KCP and QUIC are available as transports.

Does it replace Ngrok?

It is a self-hosted equivalent for exposing services. It lacks Ngrok's request inspection and replay.

Similar tools in Tunnels, VPNs and networking

bore

Tunnels, VPNs and networking

Minimal self-hosted TCP tunnel in Rust for exposing local ports through a public server

12k 534 10 months ago Dormant MIT

nebula

Tunnels, VPNs and networking

Certificate-based mesh overlay network for teams that run their own infrastructure

19k 1.2k today Thriving MIT

Replaces Tailscale

NetBird

Tunnels, VPNs and networking

WireGuard-based mesh VPN and zero trust access platform you can self-host

31k 1.9k today Thriving AGPL-3.0

Replaces TailscaleOpenVPN

chisel

Tunnels, VPNs and networking

Single-binary TCP and UDP tunnel over HTTP with SSH encryption, for getting through

17k 1.6k 43 days ago Active MIT

Headscale

Tunnels, VPNs and networking

Self-hosted Tailscale control server for homelabs and small teams running one tailnet

46k 2.7k yesterday Thriving BSD-3-Clause

Replaces Tailscale

sish

Tunnels, VPNs and networking

Self-hosted SSH tunnel server for exposing local apps without a custom client

4.8k 340 8 days ago Thriving MIT