Secure your server · 3 min
Set up the Rack'Em firewall
Block everything except the ports you need, from the panel, before traffic reaches your server.
The Rack'Em firewall filters traffic before it reaches your server, so blocked ports never even see the connection. It's free and takes a minute to set up.
Turn it on
- Open your server in the panel and go to the Firewall tab.
- Switch the firewall on.
- Tick what to allow: SSH (port 22, keep it on or you can't connect), Web (HTTP) and Web (HTTPS) (ports 80 and 443, for websites) and Ping (so you can check the server is up).
- Add any other ports under Other ports, for example
8080, a range like3000-3010, or25565/udpfor UDP. - Click Save firewall. It applies within seconds.
Common setups
- Website or WordPress: SSH, HTTP, HTTPS.
- n8n: SSH and
5678(or put it behind HTTPS on 443). - Coolify: SSH,
8000, HTTP and HTTPS. - Nextcloud: SSH, HTTP and HTTPS.
- WireGuard VPN: SSH,
51820/udpand51821. - API on a custom port: SSH and that port, for example
3000.
Firewall inside the server too?
You can also use ufw on the server. It works alongside the Rack'Em firewall, but if a port is blocked in either one, it's blocked.
Stuck? Contact us or open a support ticket from your panel.