Jigsaw-Code / outline-server

Outline Server, developed by Jigsaw. The Outline Server is a proxy server that runs a Shadowsocks instance and provides a REST API for access key management.
https://getoutline.org/
Apache License 2.0
5.79k stars 780 forks source link

Support for Bandwidth Limiting #198

Closed teamscar closed 2 years ago

teamscar commented 6 years ago

I think it'd be great if you had an option in the manager to limit bandwidth for each key or something similar.

yakovmanshin commented 6 years ago

Yes, it would be great to be able to set up daily and/or monthly quotas for each user.

trevj commented 6 years ago

@teamscar Thanks for the suggestion. This feature has already been requested, so I'm going to mark this as a duplicate.

trevj commented 6 years ago

https://github.com/Jigsaw-Code/outline-server/issues/32

cjhenck commented 4 years ago

@yakovmanshin @teamscar may I ask your use case? Is it to prevent abuse in terms of "taking all the bandwidth", or to prevent cost overruns? (E.g. 10GB per month per access key)?

Thanks!

what-name commented 4 years ago

@cjhenck both, and even more. To limit a key to one device, quotas, speed limiting, etc. There are multiple tickets opened on this topic. There is a search bar for a reason.

alexlii1971 commented 2 years ago

Well, this is a top feature request, and it would be great if you can take it as a priority.

alexlii1971 commented 2 years ago

Well, this is a top feature request, and it would be great if you can take it as a priority.

bemasc commented 2 years ago

@alexlii1971 This is implemented! Please see these instructions for how to use it.

Wenzzy commented 2 years ago

@bemasc How about limiting the maximum connection speed per key? ex. 5 Mbps

bemasc commented 2 years ago

@WenzzyX We don't currently have support for that. However, the server should perform well, and share bandwidth fairly among users, even when there are multiple simultaneous heavy users who are using all the available bandwidth.

If a limit of this kind is important to you, please open a new feature request to cover it, and also explain why it is useful. We have focused on monthly limits because most server operators pay for bandwidth by the month, so a monthly usage limit allows them to control their costs.

crash481 commented 11 months ago

@fortuna +1 vote to feature of limit bandwidth speed on different keys groups (or for each key separately, as easier in implementation)

This will be convenient to setup speed limit for different users groups. Like I want that some users have more possibility to consume the server's overall Internet speed.

I need possibility to create VPN server, and share keys and don't worry that my speed is twice slower because another user that I grant key now also downloading huge files. I want to give key, and know that anytime he will use only 10mb/s maximum, and i will use other part of bandwidth

(for example 90mb/s of total 100mb/s, but in total implementation will use it 50mb/s both)

I will be glad if you found it useful and implement it soon. Also with access via API setup