{% extends "base.html" %} {% block title %}Firewall{% endblock %} {% block content %}
iptables is the traditional Linux packet filter. It is usually pre-installed.
nftables is the modern replacement for iptables. Provides better performance and a cleaner syntax.
firewalld is a zone-based firewall manager. Common on RHEL/CentOS but also available on Debian/Ubuntu.
CSF is a stateful packet inspection firewall with login/intrusion detection (LFD). Popular on cPanel servers but works standalone.
This will disable UFW and switch to raw iptables management. Your existing firewall rules
(which UFW manages via iptables under the hood) will be preserved and saved to
/etc/iptables/rules.v4. iptables-persistent will be installed to ensure
rules survive reboots.
This will convert your iptables rules to UFW and enable UFW as the primary firewall frontend. Your current iptables rules are backed up before any changes. TCP/UDP ACCEPT rules on INPUT are automatically converted to UFW allow rules.