FreeKB - firewalld firewall-cmd - bind to an ethernet interface
firewalld firewall-cmd - bind to an ethernet interface

Home > Search


If you are not familar with firewalld and the firewall-cmd, check out our Getting Started article.

The --add-interface=interface_name option can be used to bind an interface to a zone. In this example, eth0 is bound to the public zone.

firewall-cmd --zone=public --add-interface=eth0 --permanent
firewall-cmd --reload

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 256e5 in the box below so that we can be sure you are a human.




Comments