Skip to content

Firewall and SSH

Every server has a firewall and automatic blocking from the moment it is created. You don’t need to set anything up. To see them, open the server and go to Security.

Four tiles at the top: Firewall (active or not), Automatic blocking, Banned now and Blocked in the last 24 h.

  • Banned now: addresses banned automatically for an hour after repeated failures, with the reason and when the ban ends.
  • Automatic protection: what the server watches for, how many addresses each rule has banned, and the known attacker networks it blocks.
  • Firewall rules: what can reach the server. Web traffic (HTTP and HTTPS, ports 80 and 443) and SSH and SFTP (port 22) are listed; everything else is blocked unless you open it under Extra open ports. These rules are managed by Netkeel and marked Managed.
  • Extra open ports: ports you open yourself.
  • Blocked addresses: your own blocks.

SSH and SFTP are open to every address, but only for the keys you add, never with a password, and repeated failures are banned automatically. To keep one address out completely, add it under Blocked addresses.

An address can get banned after several wrong passwords, even yours. If your own address is banned, a red notice at the top of the section says so.

  1. Find the address under Banned now.
  2. Click Unban.

It is banned again only if it keeps failing.

Your blocks apply to the whole server: every application and SSH.

  1. Under Blocked addresses, type an IP address or a range, such as 192.0.2.44 or 2001:db8:1234::/48.
  2. Click Block. Add more if you need to.
  3. Click Save changes. Nothing applies until you save.

To unblock, click the × next to an address and click Save changes.

You can block up to 200 entries. Private addresses, the server’s own addresses and your own current address can’t be blocked.

If you run something that needs its own port, such as a custom application, open it under Extra open ports.

  1. Enter the port, such as 8080, and choose TCP or UDP.
  2. Choose who can reach it: Everyone or Only these addresses. For the second, enter an IP address or a range, such as 203.0.113.10 or 198.51.100.0/24.
  3. Click Open port. Add more if you need to.
  4. Click Save changes. Nothing applies until you save.

To close a port, click Close next to it and click Save changes.

You can open up to 20 ports. Ports 22, 80 and 443 are managed by Netkeel. Database and cache ports (such as 3306, 5432 and 6379) can only be opened to chosen addresses. Netkeel opens each port on the server and at the cloud provider.

SFTP and SSH logins belong to each application, not to the server. Each application has its own login that only reaches that application. There is no root login.

To connect:

  1. Open the application and go to SSH / SFTP (under Files).
  2. Click Add key, give it a Friendly name, and paste your OpenSSH public key (or click Upload file). No key yet? See Create an SSH key. Click Add key, then confirm with your password (and your authenticator code if two-factor authentication is on).
  3. Connect with any SFTP client, such as FileZilla, Cyberduck or WinSCP. Use the host, port (22) and user shown on the page, and your private key. The page also shows an sftp command you can copy.

SFTP is always available to the application’s keys. For a command-line shell, turn on the SSH access switch. The same keys then also open a shell inside the application, as the site’s own account, with tools such as git and rsync. The page shows the ssh command to copy.

To revoke access, open the key’s ⋮ menu and click Remove key.

An SSH key is a pair of files: a private key that stays on your computer, and a public key you paste into the panel. You create it once and can use it for all your applications.

On Windows 10 or 11, macOS or Linux:

  1. Open Terminal (on Windows, PowerShell).
  2. Run ssh-keygen -t ed25519.
  3. Press Enter to save the key in the suggested place. Type a passphrase to protect the key, or press Enter twice for none.
  4. Show the public key: cat ~/.ssh/id_ed25519.pub (in PowerShell, type $env:USERPROFILE\.ssh\id_ed25519.pub).
  5. Copy the whole line, which starts with ssh-ed25519, and paste it under SSH / SFTP › Add key.

With PuTTYgen (Windows):

  1. Open PuTTYgen, choose EdDSA (Ed25519) and click Generate. Move the mouse until it finishes.
  2. Copy the text under Public key for pasting into OpenSSH authorized_keys file and paste it under SSH / SFTP › Add key.
  3. Click Save private key and keep the .ppk file somewhere safe.

Connect with FileZilla:

  1. Open File › Site Manager and click New site.
  2. Choose SFTP as the protocol, and type the host and user shown under SSH / SFTP, with port 22.
  3. Under Logon Type, choose Key file and pick your private key: id_ed25519 in the .ssh folder of your user folder, or the .ppk file.
  4. Click Connect.

Never share or upload your private key. Only the public key goes into the panel.