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

    Delete all pass-through mac address

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

      Hi all.
      I have too many mac address entry in captive portal. How i can delete all with ssh or with other task?
      Thanks.

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

        ssh (== console) into pfSense, option 8 and then use

        viconfig
        

        Goto
        <pfsense><captiveportal><ZONE>
        and block delete all the inner <passthrumac> .... </passthrumac>.

        Btw : this is considered "dirty".
        note : viconfig is an alias for "vi /conf/confi.xml" - so vi is used, one of the oldest editors on earth.

        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
        • F
          FromRome
          last edited by

          @gertjan said in Delete all pass-through mac address:

          passthrumac

          Perfect.
          Thanks.

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

            Check with ipfw table all list if they are gone.
            The table is called ZONE_pipe_mac

            After modifying you should re save the settings on the captive portal related zone page (and / or the MACs page)

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.