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

    Expiring a pass-through MAC….

    Scheduled Pinned Locked Moved Captive Portal
    3 Posts 1 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.
    • I Offline
      islandwifibill
      last edited by

      Hey guys and gals, looking to automate the process of expiring pass-through MACS when a customer's account has expired.  This from the captive portal setup page:

      To remove the passthrough MAC entry you either have to log in and remove it manually from the Pass-through MAC tab or send a POST from another system to remove it.

      Ok, scheduling such an action is no big deal, I can use any number of modalities to do that.  However, it would be helpful to me if someone here has had experience with posting the command from a remote system…  not sure how I would do that part.

      Any help would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • I Offline
        islandwifibill
        last edited by

        For that matter, where is the MAC pass through information stored?

        1 Reply Last reply Reply Quote 0
        • I Offline
          islandwifibill
          last edited by

          ok, ipfw is used to manipulate the stateful firewall, found that.  so when I executed the ipfw command to delete two rules concerning a test mac, the firewall did indeed deny outbound and inbound access to the machine without logging into the captive portal.

          Now, one would think that the passthrough mac address page would, when refreshed, show that this mac has been deleted, but no.  so obviously the information is being cached somewhere.  Even though it showed as a pass through mac, ipfw had successfully (of course) deleted the rule.  When I edited the mac entry, and saved it, it went back into the ruleset for ipfw.

          Question remains:  where is this information cached?  is it encrypted?  Standing by…...  :)

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