Setting up Data Caps
-
Captive Portal allows you to force your users to use vouchers for access, with time limits and bandwidth-use limits.
-
@KOM Thanks but you see these are home based users, each with a router. So if i use the captive portal,i might end up forcing everyone to get a voucher and that is unreasonable for someone paying for monthly services.
-
AFAIK, it's the only way to limit bandwidth used per client on pfSense.
-
@KOM Ok. But what about when the data provided to the client is limited?
What i would like, is when say the XGB is depleted the speed drastically reduce to say 1Mbps untill 5 P.M when there are no restrictions. -
No, pfSense has no such features. You can shape traffic, or you can use captive portal to limit how much bandwidth a client uses per allotted time period. That's it. It's not a mini ISP in a box.
-
@KOM But i already set limiters to each client, such that some get 5Mbps and others 10Mbps. So if i use captive portal to set bandwidth allocated to a specific device will it affect those limiters
-
I have no idea how captive portal interacts with limiters.
-
The captive portal can apply Limiters on a per client basis.
To use total traffic limiting you need to use Radius accounting. You can specify both rates and totals for each client doing that but it's a complex setup. It might be worth it for the result though.
How are the clients connecting currently? I assume this is a WISP style setup?
Steve
-
@stephenw10 Yes this is a Wisp. So each and every client gets a dhcp lease from the pfsense machine where i set limiters according to each clients package using Aliases. I am new to this stuff but does radius accounting achieve that?
-
Checkout the hangout KOM linked above. Specifically from here onwards.
Steve