On 2024-08-08 19:42, Curtis J Blank wrote:
I'm running Tumbleweed and using firewalld. If I want to block some incoming IP addresses and I add iptables reject rules will that work to block them?
I do a iptables -L and iptables appears to be available.
I have my reasons for wanting to use iptables for this blocking. I don't know what reasons you might have for wanting to use iptables, but I wouldn't recommend it. With firewalld, it is easy to set up a rule (called an IPset) that will block as many ip addresses as you want, all with just one rule. In addition to the URL David Rankin gave, the official firewalld documentation is at https://firewalld.org/documentation/ I suggest using the firewalld GUI: in the application launcher, go to System/ and run Firewall. You will need the root password.