Jump to content

MAC Filtering


Recommended Posts


i'm trying to block all connection from a specified mac address but it doesn't work. The payload that i'm using is this:


function setup() {
        # Show SETUP LED
        LED SETUP

        # Set the network mode to NAT
        sleep 7


function run() {
        # Show  ATTACK LED
        LED ATTACK

        # Block all traffic for/from specified mac address
        iptables -A INPUT -m mac --mac-source 00:12:34:56:78:90 -j DROP
        sleep 3


What i'm doing wrong?



Link to comment
Share on other sites

7 hours ago, Dave-ee Jones said:

I already see this page and try it but nothing change, i try many google result but no one can block traffic from mac address (in or out).

I try to use NETMODE BRIDGE and NETMODE NAT too.

I want to try to restart iptables service but in PS i cannot find service command or /etc/init.d/iptables command, so i don't know how to restart it when in arming mode.

Edited by codeforge
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...