Your Question: How Do I Find Local Firewall Rules in Linux?
Contents

How do I view firewall rules?

View firewall rules

  1. On the main page, click Settings.
  2. Select Network connections > Firewall .
  3. Click the Rules tab.
  4. Next to Current firewall profile, select the appropriate firewall profile.
  5. To view the rule details, select a rule on the list and click Details .

Where are Firewalld rules stored?

Firewalld stores its configuration in /etc/firewalld and within that directory you can find various configuration files:

  • firewalld. …
  • Files in the zones directory provide your custom firewall rules for each zone.
  • Files in the services directory provide custom services you have defined.
James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest