fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
85.34k stars 13.23k forks source link

[Feature Request] can add bandwidth_limit in server side #3085

Closed freshgeek closed 1 year ago

freshgeek commented 2 years ago

Describe the feature request

[Feature Request] can add bandwidth_limit in server side add bandwidth_limit in client side is not useful, client is not controlled

Describe alternatives you've considered

No response

Affected area

Becods commented 2 years ago

Not currently supported on the server side.

You can try other customization version.

Or develop your own plugin.

Maybe it will be implemented in v2.

fatedier commented 2 years ago

An optional method it the server plugin to override proxy bandwidth_limit in frps.

github-actions[bot] commented 2 years ago

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

cbodonnell commented 1 year ago

Opened https://github.com/fatedier/frp/pull/3271 to support setting bandwidth_limit from a server plugin. This allows the server to control the limit for each proxy.

tecufanujacu commented 2 weeks ago

An optional method it the server plugin to override proxy bandwidth_limit in frps.

Is it possible to receive a little help? I'm trying to do this from several days, I'm trying to understand how, I studied the server plugin documentation and I'm also trying to understand how available server plugins works. for example I undesrtood how fp-multiuser do the check but I don't understand how to override bandwidth_limit with a server plugin. Unfortunalty I'm failing.