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

    How to manually delete all pass-through MAC entries on PFsense version 2.1.5

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 2 Posters 1.7k 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.
    • U
      usaiat
      last edited by

      Hi,

      I got a lot of pass-through MAC entries and I want to delete all of them at once. Its really a pain doing it one by one. Is there a way I can do that ? Our captive portal services went off recently and we have to manually restart the services. We also change the Pass-through MAC Auto Entry and unchecked the "Enable Pass-through MAC automatic additions" so we can start afresh with our guest users

      Any help will be really appreciated

      Regards

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

        Hi,

        pfSense has the possibility to "export" his configuration. Export only the "Captive Portal" part.
        All you need is a decent XML editor, a couple seconds ….. and done.
        Import the modified XML file and your good.

        A couple of things you should know:
        No, MS Word isn't a good editor for this. Better is Notepad++ (a source code editor).
        RESPECT the XML format - you see its easy to understand.
        Look for these sequences:

         <passthrumac><action>pass</action>
        <mac>00:14:bf:xx:ab:33</mac>
        -</passthrumac> 
        

        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
        • U
          usaiat
          last edited by

          Thanks Gertjan. Can you guide me through on how to export the captive portal configuration on the web GUI ?

          1 Reply Last reply Reply Quote 0
          • U
            usaiat
            last edited by

            Thanks. I manage to figure that out  :)

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