Per user bandwidth limit
-
Hello guys, i found a document;
http://www.theitmassive.com/home/2009/7/22/pfsense-captive-portal.html
where the author describes with screenshot direct captive portal option for bandwidth limiting. I don't have such an option in 1.2.2. Basically, i want to throttle users accessing my wireless network. Using squid for transparent proxy/url filter, and it's bandwidth limiting option doesn't work. Although url filtering works fine.
Thanks in advance,
Zarko Bulatovic. -
This feature is in pfsense 2.0, take a look at one of the snapshots to try it out.
http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_HEAD/livecd_installer/
Josh
-
Hi guys
I'm now trying with pfsense 1.2.2, 1.2.3 and 2.0 alpha to work with some radius attributes.
I want to dynamically use "per user bandwidth" with radius attributes.
Therefore, I used "WISPr-Bandwidth-Max-Down" and "WISPr-Bandwidth-Max-Up" in mysql database radius.radgroupreply or even radius.radreply, but the bandwidth was up to the Max. Is there any way to make this thing done?
I don't want to use per user bandwidth in pfsense2.0alpha because it's not dynamic.I used to use chillispot and it works fine with bandwidth limit with those attributes.
Thanks ;D
-
pfSense uses this radius attributes.
They are expected from this vendor if ($vendor == 14122) { /* RADIUS_VENDOR_WISPr Wi-Fi Alliance */ -
@ermal:
pfSense uses this radius attributes.
They are expected from this vendor if ($vendor == 14122) { /* RADIUS_VENDOR_WISPr Wi-Fi Alliance */So I can't use those attributes?? or what you mean?? Then how to make QoS work with radius attributes??
-
I found this statement in /etc/inc/radius.inc
if ($vendor == 14122) { /* RADIUS_VENDOR_WISPr Wi-Fi Alliance */I think pfsense support those bandwidth attributes, right?? but it's not working at all.?? why??
-
Check your radius server maybe it is not a supported vendor.
Add a log_error("Trying to work with " . $vendor);
in radius.inc and see what is the value. -
@ermal:
Check your radius server maybe it is not a supported vendor.
Add a log_error("Trying to work with " . $vendor);
in radius.inc and see what is the value.i use echo log_error("Trying to work with " . $vendor);
When i log in to captive portal, I got the result: Trying to work with 14122Below it is my radius debug when i log in:
Sending Access-Accept of id 68 to 127.0.0.1 port 20474
Session-Timeout == 300
Idle-Timeout := 300
WISPr-Bandwidth-Max-Down := 262144
WISPr-Bandwidth-Max-Up := 131072
Finished request 0
Going to the next request
–- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Accounting-Request packet from host 127.0.0.1:38744, id=165, length=122
NAS-IP-Address = 192.168.11.22
NAS-Identifier = "pfSense.local"
User-Name = "test"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Login-User
NAS-Port-Type = Ethernet
NAS-Port = 0
Acct-Session-Id = "cc9ef9fca9c06875"
Framed-IP-Address = 192.168.169.105
Called-Station-Id = ""
Calling-Station-Id = "00:0c:29:40:c3:f1"
Processing the preacct section of radiusd.confBut the bandwidth is still not working.
Anything wrong??? -
The option is only active on 2.0 iirc.
For activating it on 1.2.3 search the 2.0 section of the forum. -
I can't find it. Can u guys show me how to make it work then?
I need it so muchThanks
-
Hi,
I have installed Pfsense 1.2.3 rc3 with captive portal and Per user bandwidth limit, it works fine.
I wondered if is possible to assign more bandwith to determinate user.
Thanks in advance
-
Hi,
I have installed Pfsense 1.2.3 rc3 with captive portal and Per user bandwidth limit, it works fine.
I wondered if is possible to assign more bandwith to determinate user.
Thanks in advance
Yes, Per user bandwidth in pfsense is ok for me too. I think if we want to use multiple bandwidth, we have to use radius.
But I'm testing now, it's not working yet.
I asked anyone here to help me with 1.2.3 or alpha version, plz????Thanks
-
On 1.2.3RC3, you just run the wizard to configure some simple load balancing, then go to the CP and check the box.
-
hi guys
"Per-user bandwidth restriction" in 1.2.3 RC3 is ok, but i see some notes below this option:
If this option is set, the captive portal will restrict each user who logs in to the specified default bandwidth. RADIUS can override the default settings. Leave empty or set to 0 for no limit. You will need to enable the traffic shaper for this to be effective.
But i've again and again to restrict bandwidth per user with radius attribute, it's not worked at all.
help please?
-
yes i have the same problem.
I can use "per user bandwidth" in both pf 1.2.3 or alpha version.
I've tried to use with radius bandwidth attributes but it didn't work with those attribute.
Why? anyone have any experience about this? -
yes i have the same problem.
I can use "per user bandwidth" in both pf 1.2.3 or alpha version.
I've tried to use with radius bandwidth attributes but it didn't work with those attribute.
Why? anyone have any experience about this?bump anyone?
-
Hi,
I have installed Pfsense 1.2.3 rc3 with captive portal and Per user bandwidth limit, it works fine.
I wondered if is possible to assign more bandwith to determinate user.
Thanks in advance
tutorials please ? i'am very need it