Your firewall is the most important line of defence for your server. It controls which network traffic can reach and leave your server. Here you will find guides for proactive hardening as well as emergency recovery.
On Linux servers, two firewall solutions are available. Both implement a default-deny strategy — all traffic is blocked unless explicitly allowed. For new servers, we recommend nftables.
On Windows servers, Windows Defender Firewall is the built-in tool for securing network traffic. Configuration is done via the GUI or PowerShell.
If a misconfigured firewall is blocking access to your server — for example via SSH or RDP — you can disable it through rescue mode without losing any data.
A firewall alone is not enough. A well-configured firewall is the first step — but not a substitute for regular updates, strong passwords, and a complete security strategy. Always combine firewall rules with the other recommendations in our security section.