Working from my Arch Console (having not yet installed Openbox), I've installed firewalld
, sudo pacman -S firewalld
, then, to check that it's overall working, firewall-cmd --panic-on
correctly blocks my ping -c 3 8.8.8.8
. But is it specifically working for my LAN port enp0s25
? When I configure like this:
sudo firewall-cmd --set-default-zone=drop
sudo firewall-cmd --zone=drop --change-interface=enp0s25
firewall-cmd --zone=drop --add-rich-rule='rule family="ipv4" source address="8.8.8.8" reject'
(The last line thanks to Hitesh Jethva.) I can still get a ping
from 8.8.8.8
. Why, and is there a way from the Console to check that firewalld
is working for my interface?