Quote:
Originally Posted by ShadowBlade72
Well it worked kind of. It limited all traffic to 10kbps though. I changed ceil 10kbps to ceil 30kbps and it limited all traffic to 30kbps.
I'm guessing it's because the "htb default 10" which tells it to send all unclassified traffic to class 10, which is the classid that is limiting it to 30kbps right?
Edit:
Okay, so I think I fixed my problem by just leaving out the default statement in the first command. Now it only applies the rule to port 6001. Thanks for your help! It seems to be working perfectly!
Could you explain to me what the third line does though. What exactly does the filter line do? Is it just telling it to search through traffic that has the mangle 10 put into the header and apply the rule with flowid 1:10 to it?
|
Another Edit: Okay, well it was limiting everyone to a max of 30kbps which made the server lag all to hell for anyone connected. I changed it to rate 30kbps and ceil of 4mbps. I'm hoping this will resolve the issue, but only time will tell.
If anyone could tell me if that is the issue? I want to limit each connection to 30kbps, but allow up to 4mbps (which is my upload max speed).
What I mean:
192.168.1.10:6001 --> 30kbps
192.168.1.11:6001 --> 30kbps
192.168.1.12:6001 --> 30kbps
etc. I just used private IP's as an example to try and show what I meant.
Edit:
Okay, I don't think it's working how I'm trying to get it to work. If anyone could look it over and help me out it would be appreciated.