How to convert iptables rules to nftables rules?

Solution Verified - Updated -


  • How do I convert my iptables rules to work with nftables?

Example of ssh traffic iptables rule

    -A INPUT -m state --state NEW -m tcp -p tcp --src --dport 22 -j ACCEPT


Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content