Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Captive portal Whitelist @Mac issue

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 2 Posters 703 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MarMottE
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        @MarMottE:

        …. search to troubleshoot ....

        Well… use the captive portal troubleshoot page  ;)
        https://doc.pfsense.org/index.php/Captive_Portal_Troubleshooting

        as 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 ?

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • M
          MarMottE
          last edited by

          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 argument

          do you know why ?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.