Captive Portal Per User Restriction not working.
-
@Qadeer said in Captive Portal Per User Restriction not working.:
we only provide access to users whose mac address are in our captive portal
You saw https://forum.netgate.com/topic/156928/private-mac-addresses-in-ios14 ?
-
@Qadeer one question (sorry if it feels a bit stupid)
Are you using FreeRadius (or similar radius server : NPS etc...)?
-
try removing all the MAC addresses first and then adding them back to the list after you had changed the up/down speed limits. My experience has been that if those MAC addresses have been added before you made the changes they will keep the old settings.
-
This post is deleted! -
@pppd No Success by this method as well.
-
@pppd We have already try all methods but none of them working. we are currently running 2.5.2 pFSense Version.
-
@qadeer said in Captive Portal Per User Restriction not working.:
try all methods
I've added the MAC of my Phone :
I checked that the MAC is listed on the DHCP leases page. The IP is an IP from my captive portal network :
I checked that the ipfw [zone]_pipe_mac is loaded with the MAC from the image above :
Note the pipe numbers 2016 and 2017.
I checked if the pipes / queues are limited to 1 Mbits / sec :
A test on my Phone (Speedtest app), connected to an AP, connected to my captive portal :
On the average, both upload and download was limited around 1 Mbit / sec.
It works for me.
-
@Gertjan
we are using pFSense 2.5.2 versino. before this, On 2.4.4, it was working fine. Captive portal default Download and Upload was able to restrict Per IP (LAN) but now, on upload rate (pFSense 2.5.2), everyone is restricted to 24 Mb and Download as per the config of Captive portal. -
@raheelfida said in Captive Portal Per User Restriction not working.:
but now, on upload rate (pFSense 2.5.2), everyone is restricted to 24 Mb and Download as per the config of Captive portal.
Is that what you want ? Or is this what you observe and isn't what you want ?
Using what settings ? Images ?
Btw : I'm using 2.5.2 CE.
2.4.5-p1 was working fine.
And before that - can't recall. -
@Gertjan We have observed and tested. pFSense 2.5.2 is not working as per requirement. we want to restrict everyone to 10 Mbps but Upload Rate is not applying.
We are using Mac-Validation , Not RADUS. -
@raheelfida said in Captive Portal Per User Restriction not working.:
We are using Mac-Validation , Not RADUS.
I'm using plain user + password login.
I' not using the pfSense User manager, but the FreeRadius package.
When I set an account (in Freeradius pfSEnse GUI) up like :
and the user logs in, the bandwidth in both directions will be limited to 500 Kbit /sec :
Here are the related "Limiters" :
Can you shows the limiters ? Are some of them missing ? What the ipfw rules set is ?
Showing things is far more constructive as writing "doesn't work". No one can see how you've set things up.
edit : but maybe, when using MAC auth, things are not done correcly. I'm not using MAC auth as I don't know my clients and their devices, and I'm not going to colect their MAC devices addresses.
I could change my setup so it uses MAC auth and see what happens.
When I have time -
@raheelfida I am also on latest 2.5.2 and using captive portal bandwidth restrictions and the settings apply both for upload and download. The problem you are having is yours specifically and not pfsense 2.5.2 in general.
Have you made any configurations in Traffic Shaper? This might be overriding your captive portal settings.
-
@papdee Nope, never used Traffic Shaper. you might be right but how can I verify that which config is overriding ?