≡ Menu

Shell script to reset ebtables on Linux

Ebtables is an application program used to set up and maintain the tables of rules (inside the Linux kernel) that inspect Ethernet frames. It is analogous to the iptables application, but less complicated, due to the fact that the Ethernet protocol is much simpler than the IP protocol. ebtables used with bridges on Linux. The following script will stop and clean all ebtables rules:

{ 4 comments… add one }
  • Tony February 21, 2017, 12:17 pm

    Awesome work. thanks!

  • Tony February 1, 2017, 7:43 pm

    Use pf. This is just bad.

  • c1b3rh4ck September 6, 2016, 1:47 am

    Cool thanks for share, but I was wondering in what case Do you use ebtables, at practical level.

    Thanks.

    • Vivek Gite September 7, 2016, 6:57 am

      If you setup bridge on Linux, you need to use this tool to block or allow traffic. Typically bridges includes your wireless wifi or virtual machines.

Security: Are you a robot or human?

Leave a Comment