Is there a host firewall, and how should we set up the Hetzner Firewall?
Yes. Every Syself Autopilot node runs a default-deny host firewall, so you do not need a Hetzner Firewall for your Kubernetes nodes. Syself Autopilot deploys the firewall with the cluster and updates its rules with every release.
The host firewall runs in Cilium and closes the node's own ports to the internet. Internal ports admit only other nodes of the same cluster. SSH on port 100 accepts keys only and stays open until you restrict SSH access.
Service traffic takes a different path. A Service of type NodePort or LoadBalancer opens a NodePort, which is a port on every node. Cilium forwards that traffic to the pods before the host firewall checks it, so the NodePort answers on every node's public IP. Protect such a Service with its own authentication or a network policy.
Do not add a Hetzner Firewall to the cluster's servers. Syself Autopilot does not create or update Hetzner Firewalls. A rule that blocks traffic between the nodes, or from the load balancers to the nodes, breaks the cluster.
To open a port for a workload that binds to the node itself, add your own policy next to the built-in rules, as shown in Open a port on the nodes. Do not edit the built-in rules, because an update overwrites your changes. For every port a node opens and who can reach it, see Ports and listeners.
Related questions
