How to replace firewalld direct rules with nftables?
Issue
- What is the replacement for firewall direct rules?
- firewalld considers the direct rule syntax to be deprecated, what do I do for firewall rules which firewalld cannot support?
- How to convert firewalld direct rules to nftables?
Environment
- Red Hat Enterprise Linux 9.5 and later
- firewalld firewall with direct rules
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.