Converting ebtable rules to work with firewalld
Issue
These are the rules in place that I would like to convert.
Below are the ebtables rules that we have enabled using the ebtables-restore command but they are not surviving a reboot of the system.
*filter
:INPUT ACCEPT
:FORWARD DROP
:OUTPUT ACCEPT
:INPUT_direct RETURN
:OUTPUT_direct RETURN
:FORWARD_direct RETURN
-A INPUT -j INPUT_direct
-A FORWARD -j FORWARD_direct
--log-level info --log-prefix "--log-ip" -j CONTINUE
-A FORWARD -p ARP -j ACCEPT
-A FORWARD -p IPv4 -d <MAC-ADDRESS> -j ACCEPT
-A FORWARD -p IPv4 -s <MAC-ADDRESS> -j ACCEPT
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
