Knowledge Base / Web Hosting & Servers
Configuring Basic Firewall Rules (CSF / UFW / iptables) on Dedicated Servers
Updated 3 December 2026
ForceSP's network edge filters volumetric floods up to 500 Mbps / 500 kpps, while a local host firewall controls exactly which TCP and UDP ports are reachable on your server:
- UFW (Ubuntu/Debian): Simple syntax (
ufw allow 22/tcp,ufw allow 80,443/tcp,ufw enable). - CSF (ConfigServer Firewall): Ideal for cPanel/WHM dedicated servers, offering login failure alerts and port-scan blocking.
- Safety Tip: Always allow your SSH port *before* enabling a default-deny policy so you do not lock yourself out.