UFW firewall getting disabled after updates

The last two times I’ve updated to the current version of cyberpanel, my websites become inaccessable. I’m hosting on VULTR and it seems they require UFW to be enabled. I can only reach the website through the VULTR console, but once I type “UFW enable” the websites come back online.

I’m at a loss why this is happening, but it has become very frustrating to troubleshoot.

Thanks for any assistance anyone can provide

CyberPanel uses firewalld as its firewall solution, not UFW. During initial installation, UFW is removed on Ubuntu systems to prevent conflicts. Our upgrade scripts don’t touch UFW.

If you’re experiencing UFW being disabled, it could be due to:

  1. System package updates affecting manually reinstalled UFW
  2. Conflicts between multiple firewall services

We recommend using firewalld (which comes with CyberPanel) or CSF instead of UFW to avoid conflicts. If you need specific firewall rules, you can configure
them through:

  • CyberPanel UI > Security > Firewall
  • Or install CSF from CyberPanel for advanced firewall management