1. Home
  2. Docs
  3. Firewall
Guide

Firewall

Choose what can reach your server, and optionally where it can connect. The rules run on our side, before traffic reaches the server, so they work whatever system it runs. Free.

1Turn it on

Open the server and go to its Firewall tab. Until you turn it on, every port is open. Once on, only what your rules allow comes in. Replies to connections the server makes itself always get back.

Keep a rule for SSH (TCP 22), or you can only reach the server through the browser console.

2Rules

Each rule allows a protocol (TCP, UDP, ping or everything), a port or range like 8000-8100, and optionally only from one address or network. Up to 50 rules per server. The presets add SSH, web and ping in one click.

3Outgoing

Off by default: the server can connect anywhere. Turned on, it can only connect where your outgoing rules allow. Allow DNS, web and time sync at least, or updates stop working.

4Firewall groups

A group is one set of rules for many servers. Make one on the Firewall groups page (from the Overview), add rules, then add servers.

  • A server in a group gets the group's rules on top of its own, and its incoming filter is on.
  • Change the group once and every server in it follows within seconds.
  • A server can be in up to 5 groups. An account can have 20.
  • Take a server out, or delete the group, and the server keeps its own rules.

5Blocked connections

The Firewall tab lists the last connections it blocked, so you can see what a missing rule stops.

6API and AI assistants

Everything here is also in the API (/services/{id}/firewall and /firewall-groups), the eh firewall and eh firewall-groups commands and the AI assistant tools.