Question

how i fix "No package firewall available"

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


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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