frp

frp

快速反向代理工具,把 NAT 或防火墙后的本地服务暴露到公网,支持 TCP/UDP/HTTP/HTTPS 转发与插件扩展,服务端 frps 与客户端 frpc 配合使用。

2026-12-03 新增

应用类型
服务端
代理内核
自研
代码状态
开源
功能费用
免费
GitHub Star
110,958
支持平台
Linux / Mac / Windows

最新版本 v0.72.0

版本号
v0.72.0
最后更新时间
2026-11-04
数据来源
GitHub Release(2026-12-03 核实)

官方变更日志

v0.72.0

## 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 `127.0.0.1`, and has its own credentials and TLS. Setting the port serves `/metrics` on both: frps exposes runtime and business metrics, so `enablePrometheus` is not needed there, and frpc exposes Go runtime metrics only, without linking an extra metrics library.

  The `/healthz`, `/metrics` and pprof endpoints on `webServer`, `webServer.pprofEnable` and `enablePrometheus` still work but are deprecated: configure `metricsServer` instead. They will continue to work until v0.80.0 is released, and may be removed in v0.80.0 or later.

## Fixes

* Fixed proxy and visitor configuration changes being lost when reloading frpc during reconnection.
* Updated yamux to fix a 100% CPU busy loop after a session shuts down and a session close that could hang when the underlying connection (for example WebSocket) blocks on a write, which could also delay reconnection.
* frps now closes the multiplexed session of a replaced or failed control connection immediately, releasing its streams and work connections instead of keeping them until keepalive times out.
* Fixed a data race when frpc updates log prefixes while other goroutines are logging, which could crash the process.
* Fixed HTTPS and tcpmux route listeners leaving a pending connection open when the listener is removed during connection handoff; the connection is now closed instead of leaving the client to wait for a read timeout.

官方信息

应用介绍

快速反向代理工具,把 NAT 或防火墙后的本地服务暴露到公网,支持 TCP/UDP/HTTP/HTTPS 转发与插件扩展,服务端 frps 与客户端 frpc 配合使用。

最新版 v0.72.0 发布于 2026-11-04,frpc 支持用系统 CA 校验服务端证书,frps 与 frpc 新增独立的 metricsServer 监听;提供 Linux / macOS / Windows / Android 等平台的预编译包,支持 P2P 直连与 TCP 多路复用。

安装方式、版本要求与最新维护状态请以项目官网或官方文档页面为准。本站不提供代理节点,也不托管或镜像安装包。

详细信息

适用平台LinuxMacWindows
代码仓库 / 官网查看官方页面