how i fix "No package firewall available"

Posted June 18, 2021 198 views

i try to install the firewall in centos 7 but i always get the same error :

Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile

  • EA4:
  • cpanel-addons-production-feed:
  • cpanel-plugins:
  • base:
  • extras:
  • updates: No package firewall available.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there @newtechinvest01,

I believe that the package is called firewalld. You can follow the steps here on how to install and configure firewalld on CentOS 7 server:

On a side note, I can see that you have a cPanel server. For cPanel I would recommend using CSF as it comes with a nice cPanel integration too. You can follow the steps on how to do that here:

Hope that this helps!

by Justin Ellingwood
After setting up the bare recommended configuration for a new server, there are often some additional steps that are highly recommended in most cases. In this guide, we'll continue the initial configuration by tackling some recommended, but optional procedures.