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

    How to use ipfw with table type mac

    Traffic Shaping
    1
    1
    345
    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.
    • C
      CuteBoi
      last edited by

      I searched github, and it's unable to find the source code for ipfw2.c, or what ever the current ipfw is being used by /sbin/ipfw.

      I'm specifically looking into the mac lookup table, and how it's handled.

      I'm trying to pass traffic that matches mac addresses in a lookup table to allow.

      # ipfw table user_macs type mac
      # ipfw "add 150 pass from table(user_macs)"
      ipfw: unrecognised option [-1] from
      
      

      But this is undocumented in FreeBSD, and it's used by mac passthrough in the captive portal.

      So I wanted to see if I could figure out the proper method of passing traffic from a lookup table with mac type.

      Could this be explained a little further? Is the only option to use a bogus pipe I could define elsewhere, or just assign it to shared pipe that has unlimited everything?

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