I have a Debian machine running multiple OpenVZ containers inside. Each container obviously has its own IP address assigned as you would expect.
My Goal: To be able to set rate limits for specific containers of specific TCP traffic. (by ports)
Example:
I want container 1 (IP: 1.1.1.1)
To be throttling ALL ports excluding 80,443,22 to 10mbit inbound and 15mbit outbound.
So in other words, ports 22, 443 and 80 are still unlimited. But if the user will download anything through port 8080 for example it will be 10mbit and upload at 15mibit
Container 2 (IP: 2.2.2.2)
I want to do the same trolling, but instead of 15/10mbit I want it to be 20mbit/s inbound and 40 outbound.
Ok so you get the point of what I am trying to achieve here.
Now the hard part (and might not be hard?) the containers are OpenVZ and the main interface inside the containers is venet0 and from what I understand you can not apply tc traffic limits to a OpenVZ container (form inside)
So.... if the first option of setting the limits inside doesnt work I am also happy and open to the idea of setting the traffic shaping from the host node (outside the container) and setting the traffic limits based on src and dst IP address (for example on 1.1.1.1 or 2.2.2.2 in this case)
If you have any questions or concerns you want clarified please do let me know via your proposal and I will start a chat conversation with you to try clarify.
##### NOTE #####
Please do your research BEFORE placing a bid on this project, Make sure you have a plan and know what you are doing, I dont want to waste my (and your) time on something you will later find out you can not achieve.
The freelancer will be given access to the host node and the OpenVZ containers also. I Expect as a result from the freelancer details instructions how the traffic shaping was applied so I can later replicate this on other machines.
Hi, my name is Maciek I'm from Poland - Siedlce. Since 2005 I'm Linux and MySQL administrator. I'm network administrator in "DOMTEL" [login to view URL] We are network provider, we work on Linux. I work at many Linux distributions. I have experience traffic shaping. You can check my example for You. You can download the file from my server http at 4000 kbits / sec. Or the same file via ftp at 1000 kbits / sec. Server IP Address is: [login to view URL] .
Http access [login to view URL]
Ftp access:
username: freelancer
password: freelancer1234
my example of course is run on OpenVZ.