DocsVPS & Dedicated

Firewalls and security

UFW, nftables, and fail2ban basics.

UFW (Ubuntu/Debian)

ufw default deny incoming ufw default allow outgoing ufw allow 22/tcp ufw enable

fail2ban

Blocks IPs after repeated failed SSH logins. Install fail2ban, the defaults are sensible.

Docs incomplete or wrong? Tell us and we'll fix it.