Question

how i fix "No package firewall available"

Posted June 18, 2021 108 views
Firewall

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: 255.53.12.255
  • cpanel-addons-production-feed: 255.53.12.255
  • cpanel-plugins: 255.53.12.255
  • base: mirror.23media.com
  • extras: mirror.23media.com
  • updates: de.mirrors.clouvider.net 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:

https://www.digitalocean.com/community/tutorials/additional-recommended-steps-for-new-centos-7-servers

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:

https://www.digitalocean.com/community/questions/how-to-install-and-configure-config-server-firewall-csf-on-centos

Hope that this helps!
Regards,
Bobby

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.