A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.

★ 110,583⑂ 15,318👁 1,569⑃ 1,347● 4,175▤ 118
GoApache-2.0Created 2015-12-21
Download: v0.72.0v0.72.0 ↓0.72.02026-11-04
+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
 Relat

Top issues

Latest release

v0.72.0 v0.72.0 2026-11-04
Features

 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

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON