[GH-ISSUE #1142] 服务器端添加客户端的连接端口 #893

Closed
opened 2026-05-05 12:34:07 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @sxhxliang on GitHub (Mar 19, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1142

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?

What operating system and processor architecture are you using (go env)?


Configures you used:

Steps to reproduce the issue:
1.
2.
3.

Describe the results you received:

Describe the results you expected:
需求场景: 我在客户端新开一个服务(端口随机),希望在服务器端添加客户端的连接端口。
目前是:需要重新配置frpc的端口然后重启服务,感觉有点麻烦,而且客户端重启报错的话其他服务也用不了了

解决方案:客户端(client)定义一个端口(manager port)和服务器(server)连接用于管理服务,当需要增加映射端口(target port)时,选择通过(manager port)发送事件信息到客户端(client)添加一条映射,映射信息保存在一个管理池(pool)中,当需要删除端口时去掉

Additional information you deem important (e.g. issue happens only occasionally):

Can you point out what caused this issue (optional)

Originally created by @sxhxliang on GitHub (Mar 19, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1142 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 无 **What operating system and processor architecture are you using (`go env`)?** 无 **Configures you used:** 无 **Steps to reproduce the issue:** 1. 2. 3. **Describe the results you received:** 无 **Describe the results you expected:** 需求场景: 我在客户端新开一个服务(端口随机),希望在服务器端添加客户端的连接端口。 目前是:需要重新配置frpc的端口然后重启服务,感觉有点麻烦,而且客户端重启报错的话其他服务也用不了了 解决方案:客户端(client)定义一个端口(manager port)和服务器(server)连接用于管理服务,当需要增加映射端口(target port)时,选择通过(manager port)发送事件信息到客户端(client)添加一条映射,映射信息保存在一个管理池(pool)中,当需要删除端口时去掉 **Additional information you deem important (e.g. issue happens only occasionally):** **Can you point out what caused this issue (optional)**
Author
Owner

@fatedier commented on GitHub (Mar 19, 2019):

https://github.com/fatedier/frp/blob/master/README_zh.md#admin-ui

<!-- gh-comment-id:474290340 --> @fatedier commented on GitHub (Mar 19, 2019): https://github.com/fatedier/frp/blob/master/README_zh.md#admin-ui
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#893
No description provided.