[GH-ISSUE #3891] [Feature Request] 功能建议: 让控制端client决定受控端client的target和port #3086

Closed
opened 2026-05-05 13:59:52 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @strugglesharp on GitHub (Dec 24, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3891

Describe the feature request

先描述一下场景
P: 公网服务器 1.1.1.1, , 公网只能1个Port, 运行 frps
D: 穿透的目标端,内网 192.168.0.50 , 运行一个frpc
S: 穿透的发起方,内网 10.0.0.30, 运行一个frpc
P/D/S 都是上网不受限制的, 走STCP, S网络不允许使用全局的sock5代理tcp

D上想加一个 127.0.0.1:3389,
现在就得先在D上配置里先配置一通. 然后再在S上配置一通. 如果想再临时加几个呢/再改几个呢?
比较麻烦的是, 我常在S上, 本身D就在一个访问不方便的地方, 老动D非常痛苦

我希望有个功能, 然后要开什么 IP/PORT组合, 直接在S上设好, D上就直接同步接受就好了. 安全什么的我靠auth.token = "abc"就足够了.

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @strugglesharp on GitHub (Dec 24, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3891 ### Describe the feature request 先描述一下场景 P: 公网服务器 1.1.1.1, , **公网只能1个Port**, 运行 frps D: 穿透的目标端,内网 192.168.0.50 , 运行一个frpc S: 穿透的发起方,内网 10.0.0.30, 运行一个frpc P/D/S 都是上网不受限制的, 走STCP, S网络不允许使用全局的sock5代理tcp D上想加一个 127.0.0.1:3389, 现在就得先在D上配置里先配置一通. 然后再在S上配置一通. 如果想再临时加几个呢/再改几个呢? 比较麻烦的是, 我常在S上, 本身D就在一个访问不方便的地方, 老动D非常痛苦 我希望有个功能, 然后要开什么 IP/PORT组合, 直接在S上设好, D上就直接同步接受就好了. 安全什么的我靠auth.token = "abc"就足够了. ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:59:52 -06:00
Author
Owner

@xqzr commented on GitHub (Dec 24, 2023):

可以尝试使用 UI
https://gofrp.org/zh-cn/docs/features/common/ui/#%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%AE%A1%E7%90%86%E7%95%8C%E9%9D%A2
或许可以 调用它的 API,自动化 这一切

<!-- gh-comment-id:1868537330 --> @xqzr commented on GitHub (Dec 24, 2023): 可以尝试使用 UI https://gofrp.org/zh-cn/docs/features/common/ui/#%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%AE%A1%E7%90%86%E7%95%8C%E9%9D%A2 或许可以 调用它的 API,自动化 这一切
Author
Owner

@strugglesharp commented on GitHub (Dec 26, 2023):

可以尝试使用 UI https://gofrp.org/zh-cn/docs/features/common/ui/#%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%AE%A1%E7%90%86%E7%95%8C%E9%9D%A2 或许可以 调用它的 API,自动化 这一切

但我公网服务端口只有1个。给了client ui 就没有口给server的port了。

<!-- gh-comment-id:1869172471 --> @strugglesharp commented on GitHub (Dec 26, 2023): > 可以尝试使用 UI https://gofrp.org/zh-cn/docs/features/common/ui/#%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%AE%A1%E7%90%86%E7%95%8C%E9%9D%A2 或许可以 调用它的 API,自动化 这一切 但我公网服务端口只有1个。给了client ui 就没有口给server的port了。
Author
Owner

@xqzr commented on GitHub (Dec 26, 2023):

可以尝试使用 UI https://gofrp.org/zh-cn/docs/features/common/ui/#%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%AE%A1%E7%90%86%E7%95%8C%E9%9D%A2 或许可以 调用它的 API,自动化 这一切

但我公网服务端口只有1个。给了client ui 就没有口给server的port了。

你可以 stcp 它

<!-- gh-comment-id:1869442172 --> @xqzr commented on GitHub (Dec 26, 2023): > > 可以尝试使用 UI https://gofrp.org/zh-cn/docs/features/common/ui/#%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%AE%A1%E7%90%86%E7%95%8C%E9%9D%A2 或许可以 调用它的 API,自动化 这一切 > > 但我公网服务端口只有1个。给了client ui 就没有口给server的port了。 你可以 stcp 它
Author
Owner

@github-actions[bot] commented on GitHub (Jan 25, 2024):

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1909338371 --> @github-actions[bot] commented on GitHub (Jan 25, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#3086
No description provided.