Inbound Limiter configuration
-
Hi
I'm having some difficulties with the limiter and could do with some advice if anybody has any. I have two internet sources sending data to two hosts on my lan:
Source1 1.1.1.1–------->--------WANIP1~PFSENSE~LAN-------->------192.168.0.1<>DESTINATION1
Source2 2.2.2.2--------->--------WANIP2~PFSENSE~LAN-------->------192.168.0.2<>DESTINATION2I have Source1 sending data to Destination1 and Source2 sending to Destination2.
I am trying to limit incoming bandwidth to 10mbps total for the two systems combined, but allow each one up to the full 10mbps when the other one isn't communicating.
From my understanding I need a limiter with two child queues, and each of these queues assigned to the rule each host is using. I've tried many different configurations of this and failed to get the result I want, usually what seems to happen is the first host works fine, limited at 10mbps, but when the second host starts sending data it gets and additional 10mbps, instead of 10mbps combined across both hosts.
I have read a lot of other posts, however most are related to limiting bandwidth for users on the lan, not the other way around.
Any advice appreciated!
Thanks
Max
-
You need 2 limiters with bw set to 10 mbit.
And you need to put on the in a limiter with source ip the 1.1.1.1 and on out the dst ip mask with 1.1.1.1
The same another rule for 2.2.2.2 and you will have solved the issue. -
Thanks for the response Ermal, I will give it a go.