Skip to main content
A firewall blocks unwanted traffic before it reaches your applications. On CrazyNode VPS, you have three options: UFW (easiest), firewalld (RHEL-family), or raw iptables/nftables.

UFW (Ubuntu / Debian)

1

Install UFW

2

Set default policies

3

Allow SSH BEFORE enabling

Forgetting this step will lock you out. Use the VNC console to recover.
4

Allow additional services

5

Enable UFW

Common UFW commands

firewalld (AlmaLinux / Rocky)

Network-level filtering

Every CrazyNode VPS also sits behind a network-level filter that blocks obvious DDoS traffic before it reaches your VM. Your local firewall protects against everything else.
Only open ports you actively use. Every open port is a potential attack surface.