Configuring firewalld for dnat fails "Error: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Could not process rule: No such file or directory".

Solution Verified - Updated -

Issue

  • How do I configure dnat using firewalld?
  • Following the Red Hat DNAT article for configuring DNAT gives error in firewalld reload.

Environment

  • Red Hat Enterprise Linux 8
  • Firewalld with nftables backend

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