Mac Address



  • Hi,
    Have some way to adopt the ipfw mac address filtering in Rules ?.

    Thanks.



  • @freebee:

    Hi,
    Have some way to adopt the ipfw mac address filtering in Rules ?.

    Thanks.

    There is no way to do it via the GUI. Of course, you can figure ways to do it outside of the GUI. Also, if you turn on Captive Portal, pfsense automatically starts ipfw and creates rules specific to CP.  So… what I've done.

    1.) Turned on Captive Portal in the GUI
    2.) Wrote a script that does the following...
        - flushes the rules from ipfw (to clear the CP specific rules)
        - adds the rules that I want
    3.) Added startup script to execute my script as last step when the box boots.

    All of this seems to work fine... However I wish I could get ipfw to start correctly without turning on the the Captive Portal in the GUI. When I try to enable ipfw manually (loading the module and setting sysctl variable for layer 2), I never see any traffic hitting my rules. Seems strange to me, but I've gotta be missing something...



  • Would be great if pf and ipfw is combined to work together in web-configurator and system. Mac Address can be very used, for example.



  • I think that will become especially useful for IPv6 auto-config where Windows and MAC devices can get different IPs from data to day.


Locked