[GH-ISSUE #4532] 服务端限速 #3580

Closed
opened 2026-05-05 14:18:05 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @pilgrimage233 on GitHub (Nov 12, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4532

Describe the feature request

请问服务端可以直接对客户端建立的通道端口进行限速吗,我不想要客户端限速,我想直接在服务端就能控制各个端口之间的速率

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 @pilgrimage233 on GitHub (Nov 12, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4532 ### Describe the feature request 请问服务端可以直接对客户端建立的通道端口进行限速吗,我不想要客户端限速,我想直接在服务端就能控制各个端口之间的速率 ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [x] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [x] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@anhao commented on GitHub (Nov 13, 2024):

通过服务端插件就可以实现, https://gofrp.org/zh-cn/docs/features/common/server-plugin/

NewProxy 时修改响应参数

<!-- gh-comment-id:2472305320 --> @anhao commented on GitHub (Nov 13, 2024): 通过服务端插件就可以实现, https://gofrp.org/zh-cn/docs/features/common/server-plugin/ NewProxy 时修改响应参数
Author
Owner

@pilgrimage233 commented on GitHub (Nov 13, 2024):

抱歉,我实在没怎么看懂,我是运行在openwrt的FRPS插件,这个配置和官方还不太一样
config frps 'main'
option server 'frps'
option client_file '/usr/bin/frps'
option bind_port '7000'
option tcp_mux 'true'
是以这种形式的,如果要配置限速可以直接在上面加 option bandwidth_limit 吗?

<!-- gh-comment-id:2472558577 --> @pilgrimage233 commented on GitHub (Nov 13, 2024): 抱歉,我实在没怎么看懂,我是运行在openwrt的FRPS插件,这个配置和官方还不太一样 config frps 'main' option server 'frps' option client_file '/usr/bin/frps' option bind_port '7000' option tcp_mux 'true' 是以这种形式的,如果要配置限速可以直接在上面加 option bandwidth_limit 吗?
Author
Owner

@fatedier commented on GitHub (Nov 20, 2024):

我是运行在openwrt的FRPS插件,这个配置和官方还不太一样

其他平台的相关插件、模块,如果不是正常的方式运行,你应该在对应的平台、论坛寻求帮助。

<!-- gh-comment-id:2487273362 --> @fatedier commented on GitHub (Nov 20, 2024): > 我是运行在openwrt的FRPS插件,这个配置和官方还不太一样 其他平台的相关插件、模块,如果不是正常的方式运行,你应该在对应的平台、论坛寻求帮助。
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#3580
No description provided.