Skip to content

Instantly share code, notes, and snippets.

@gladiopeace
Created September 28, 2016 15:59
Show Gist options
  • Save gladiopeace/54ae7402be16922b7996195d1f61448d to your computer and use it in GitHub Desktop.
Save gladiopeace/54ae7402be16922b7996195d1f61448d to your computer and use it in GitHub Desktop.
mikrotik firewalld block/unblock mac-addr
#block the mac addr "AA:AA:AA:AA:AA:AA"
/ip firewall filter add src-mac-address=AA:AA:AA:AA:AA:AA chain=forward action=drop
#ublock the mac addr "AA:AA:AA:AA:AA:AA"
/ip firewall filter remove [find src-mac-address="AA:AA:AA:AA:AA:AA"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment