{% extends "baseTemplate/index.html" %} {% load static %} {% comment %} CSF / firewalld backend detail: which filter is live, what it reports, and the address lists the panel has recorded. {% endcomment %} {% block title %}CSF{% endblock %} {% block styles %} {% endblock %} {% block content %}

Packet filter backend

CloudPanel detects the active backend rather than assuming one: CSF when it is installed and enabled, otherwise firewalld.

{% if backend == "none" %}
No packet filter is active. Neither csf nor firewalld responded, so the rules page has nothing to act on and this server is relying on its provider's network filtering alone.
{% elif backend == "csf" %}
CSF is the active backend. CSF disables firewalld when it installs itself, so the panel writes inbound ports into /etc/csf/csf.conf and addresses into csf.allow.
{% else %}
firewalld is the active backend. Port rules become permanent --add-port entries, and rules restricted to a source address become rich rules.
{% endif %}
Backend
Running
Rules reported
fail2ban
Rules reported by the backend Edit rules
ProtocolPort SourceOrigin
The backend reported no rules.
CSF port lists

Comma-separated ports or start:end ranges. These are the four directives CSF itself enforces — TCP/UDP inbound and outbound.

Address lists recorded by the panel
ListAddressPort CommentPermanentAdded
The panel has no recorded CSF address entries.
{% endblock %} {% block scripts %} {% endblock %}