Captive portal Whitelist @Mac issue
-
Hello,
We have an issue with own captive portal, in fact, the whitelisting of the mac adresse does not work anymore.
Before All users who have their mac adresse in the system can connect to the internet directly, but now all users without exception are redirect to the captive portal…
Do you have an idea, I don't know where I have to search to troubleshoot ( specific files, etc ..)
Thanks in advance I already post this topic in the french support but no replies
-
…. search to troubleshoot ....
Well… use the captive portal troubleshoot page ;)
https://doc.pfsense.org/index.php/Captive_Portal_Troubleshootingas mentioned on that page, table 1 and 2 contain the authenticated users.
3 and 4 the pre-autorized ( allowed" ) IP addresses.For every MACs you entered on the list you should see a pair of line at the start of the list with ipfw rules, like this :
00002 pipe 8332 ip from any to any MAC any 64:80:99:99:9f:6c 00003 pipe 8333 ip from any to any MAC 64:80:99:99:9f:6c any
to allow MAC "64:80:99:99:9f:6c" to by-pass the portal.
You have your MAC's listed ? -
Hi
Thanks, but the ipfw command not working, I have try all commands of this topics
https://doc.pfsense.org/index.php/Captive_Portal_Troubleshooting#Zones
[2.3-RELEASE][admin@]/root: ipfw -x guest show
ipfw: Context 0 is invalid
[2.3-RELEASE][admin@]/root: ipfw -x zone1 show
ipfw: Context 0 is invalid
[2.3-RELEASE][admin@]/root: ipfw
ipfw: usage: ipfw [options]
do "ipfw -h" or "man ipfw" for details
[2.3-RELEASE][admin@]/root: ipfw -x zonel show
ipfw: Context 0 is invalid
[2.3-RELEASE][admin@]/root: ipfw -x LAN_GUEST show
ipfw: Context 0 is invalid
[2.3-RELEASE][admin@]/root: ipfw show
ipfw: Context is mandatory: No such file or directory
[2.3-RELEASE][admin@]/root: ipfw -x context list
ipfw: Context 0 is invalid
[2.3-RELEASE][admin@]/root: ipfw_context -l
ipfw_context: Command not found.
[2.3-RELEASE][admin@]/root:
[2.3-RELEASE][admin@]/root: ipfw_context -1
ipfw_context: Command not found.
[2.3-RELEASE][admin@]/root: ipfw -x LAN_GUEST show
ipfw: Context 0 is invalid
[2.3-RELEASE][admin@]/root: ipfw -x 2 show
ipfw: setsockopt: choosing context
[2.3-RELEASE][admin@]/root: ipfw zone list
ipfw: Error returned: Unknown error: -1
: Invalid argumentdo you know why ?