How can I limit the bandwidth of the server?

I want to limit my VPS bandwidth. Because a lot of people often download large files through my services. I can't control traffic consumption per month!!!

Is there a good way to limit the speed of the network card? My system is CentOS, I want my network card to work at: Unlimited download speed,20Mbps upload speed limit

thank you very much!

1 Reply

These seem viable (lot of mentions in regards to wondershaper). Looks like it may be in epel.

https://linux.die.net/man/8/tc

https://www.vultr.com/docs/how-to-limit … n-centos-6">https://www.vultr.com/docs/how-to-limit-traffic-with-wondershaper-on-centos-6

https://www.tutorialspoint.com/articles … h-on-linux">https://www.tutorialspoint.com/articles/how-to-limit-network-bandwidth-on-linux

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct