Dear all,
I'm a new user with a lot of doubts....
After to reboot device, I have executed "service" command,
My question is
Why firewall is enabled but it is not running...?
How I confirm that I'm protected ?
Hi, Thanks for your time.
Raspberry pi 5
Last snapshot: openwrt-bcm27xx-bcm2712-rpi-5-squashfs-factory.img.gz
fresh installation.
currently,
eth0 -> it is used for internal net.
eth1 -> tp-link working fine (I have installed specific driver)
Because there is nothing to run about... The firewall is part of the kernel, it's not an independent process, and there is nothing running while the firewall is active. What the firewall service does is to load the rules from the config files, configure the rules in the kernel, and finish.
Given that's true, but it seams counter intuitive to (new) users because on Debian, Ubuntu, redhat, you name it, the firewall (service) is active and running, i.e. if you use systemd.
(This issue never occured to me because I've also checked the state with iptables or nft, too....)
I see your point but... If I start the firewall service and it loads my rules, then a different process changes those rules (or myself, by mistake), can we tell the user that the firewall is running?
Yes I see this issue too that nobody can decide for sure which rule set is the current correct one during "runtime".
Edit ps: besides certain chains are configured to be ignored by UCI so at least the state of the UCI defined rules could be checked if still active as they are configured...
OK, understood. I have changed a rule defined, and firewall is working.
I would like to thanks for this clarification. As _bernd told before, for new users is not intuitive.
I close this topic.
THanks to everybody.