CT: control Internet bandwidth ONLY

tommyv

Member
Dec 6, 2020
2
0
6
53
Hello,

I have a limited VDSL connection, so I'd like to limit only Internet bandwidth within a container while letting the local network throughput unlimited.

Is that possible ?

Thanks in advance
 
Hello,

I have a limited VDSL connection, so I'd like to limit only Internet bandwidth within a container while letting the local network throughput unlimited.

Is that possible ?

Thanks in advance
Hi, yes you can bandwidth limit the containers virtual interface using tools like tc https://man7.org/linux/man-pages/man8/tc.8.html or wondershaper https://github.com/magnific0/wondershaper

Edit: Okay, maybe wondershaper is not capable of filtering traffic based on destination IP, so you will have to use tc (wondershaper is actually just a userfriendly wrapper/scripts for tc)

Another way might be to define a second virtual interface for inet traffic only and route all non-local traffic trough there while rate limiting that interface.
 
Last edited:
When you edit the Network settings for the Containers NIC you should be able to set a bandwidth limit. If you only want the bandwidth limit for connections to the internet and not within your network itself, you will need to configure that on your router.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!