nftables are rules still present after stopping firewalld

Solution Verified - Updated -

Issue

  • Even though firewalld is stopped, nftables rules were not flushed, blocking incoming connections to listening ports.
  • Unable to connect to listening port due to nftables not being flushed after stopping firewalld. We are able to ping the system.

Environment

  • Red Hat Enterprise Linux (RHEL) 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