+4
Daily
+94
Weekly
110,583
stars
15,318
forks
1,569
watchers
1,347
prs
4,175
issues
118
releases
README
frp
README | 中文文档
Sponsors
frp is an open source project with its ongoing development made possible entirely by the support of our awesome sponsors. If you'd like to join them, please consider sponsoring frp's development.
Gold Sponsors
Swiftproxy - Premium Global Residential Proxy Network
Reliable residential IPs across 220+ locations, helping frp users test remote access, verify connectivity, and access region-specific network resources worldwide.
Free testing available, with 10% off using code PROXY90.
Recall.ai - API for meeting recordings
If you're looking for a meeting recording API, consider checking out Recall.ai,
an API that records Zoom, Google Meet, Microsoft Teams, in-person meetings, and more.
The complete IDE crafted for professional Go developers
The sovereign cloud that puts you in control
An open source, self-hosted alternative to public clouds, built for data ownership and privacy
What is frp?
frp is a fast reverse proxy that allows you to expose a local server located behind a NAT or firewall to the Internet. It currently supports TCP and UDP, as well as HTTP and HTTPS protocols, enabling requests to be forwarded to internal services via domain name.
frp also offers a P2P connect mode.
Table of Contents
Development Status
About V2
Architecture
Example Usage
Access your computer in a LAN network via SSH
Multiple SSH services sharing the same port
Accessing Internal Web Services with Custom Domains in LAN
Forward DNS query requests
Forward Unix Domain Socket
Expose a simple HTTP file server
Enable HTTPS for a local HTTP(S) service
Expose your service privately
P2P Mode
Features
Configuration Files
Using Environment Variables
Split Configures Into Different Files
Server Dashboard
Client Admin UI
Dynamic Proxy Management (Store)
Monitor
Prometheus
Authenticating the Client
Token Authentication
OIDC Authentication
Encryption and Compression
TLS
Hot-Reloading frpc configuration
Get proxy status from client
Only allowing certain ports on the server
Port Reuse
Bandwidth Limit
For Each Proxy
TCP Stream Multiplexing
Support KCP Protocol
Support QUIC Protocol
Connection Pooling
Load balancing
Service Health Check
Rewriting the HTTP Host Header
Setting other HTTP Headers
Get Real IP
HTTP X-Forwarded-For
Proxy Protocol
Require HTTP Basic Auth (Password) for Web Services
Custom Subdomain Names
URL Routing
TCP Port Multiplexing
Connecting to frps via PROXY
Port range mapping
Client Plugins
Server Manage Plugins
SSH Tunnel Gateway
Virtual Network (VirtualNet)
Feature Gates
Available Feature Gates
Enabling Feature Gates
Feature Lifecycle
RelatTop issues
#2501Allow multiple HTTP proxies on different ports16 comments · 2021-07-30#2799autocert support8 comments · 2022-02-14#2747[Feature Request] Allow storing passwords hashed in config files7 comments · 2022-01-10#2107访问端结束时如果proxy连接数为0时关闭该端口7 comments · 2020-11-24#1839frps 启动时是否可以一并启动配置文件中声明使用的插件7 comments · 2020-06-03#4184[Feature Request] Make client IP accessible to upstream by spoofing source IP6 comments · 2024-04-27#3909[Feature Request] Allow multiple transports/ports on frpc (in order of preference?)6 comments · 2024-01-03#3992[Feature Request] Customize the tls.Config used in HTTPProxyConf4 comments · 2024-02-14
Latest release
v0.72.0 v0.72.0 2026-11-04Features frpc can verify server certificates using system CAs, optionally combined with CAs from trustedCaFile. frpc reload now refreshes certificate files for unchanged https2http and https2https proxies without interrupting existing connections. Failed refreshes keep the previous certificate and report the error in proxy status and logs while reload still succeeds. Added metricsServer to both frps and frpc, a separate listener for health checks, metrics and optional profiling that does not expose the dashboard or the admin API. It is disabled unless metricsServer.port is set, defaults to
News & coverage (10)
Hacker NewsFrp: A fast reverse proxy to help you expose a local server to the internet▲ 134 · 29 comments · 2016-08-12Hacker NewsFast proxy to expose a local server behind a NAT or firewall to the internet▲ 5 · 2 comments · 2020-08-06Hacker NewsA fast reverse proxy to help you expose a local server behind a NAT or firewall▲ 4 · 0 comments · 2021-10-17Hacker NewsFrp: Expose local server behind NAT/firewall to public (ngrok alternative)▲ 2 · 1 comments · 2024-01-08Hacker NewsFrp: A fast reverse proxy to help you expose a local server▲ 2 · 0 comments · 2019-12-23WeLiveSecurityWebworm: New burrowing techniques2026-05-20EclecticIQ BlogChina-Nexus Threat Actor Actively Exploiting Ivanti Endpoint Manager Mobile (CVE-2025-4428) Vulnerability2025-05-21EclecticIQ BlogChinese Threat Actor Used Modified Cobalt Strike Variant to Attack Taiwanese Critical Infrastructure2023-06-02Computer WeeklyIranian APT seen exploiting GitHub repository as C2 mechanism2022-12-09www.gendigital.comGen Blogs | APT group targeting governmental agencies in East Asia2020-12-09