Firewall
Who may reach your apps, and what your apps may reach. Everything starts closed, and three switches decide the rest.
On this page
What it is
Every project starts closed. Nothing from outside can get in. Three switches control what goes out. On top of that, you write rules for the traffic you actually want.
This path works from the start. Everything else needs a rule. That's on purpose. If nobody granted access to a workload, nobody can reach it.
When you'd use it
- You want to decide which apps in a project may reach its database.
- An app must call an external API, and the rest of the project should stay sealed.
- You want to show what a workload can talk to. For example to yourself, or to an auditor.
The three defaults
| Switch | Default | What happens when you turn it off |
|---|---|---|
| Talk to project apps | on | Workloads in the project can't reach each other anymore. Your app loses its database. |
| Resolve names (DNS) | on | Nothing in the project can look up names anymore. Almost everything breaks, including anything that needs a hostname. |
| Reach the internet | on | No more connections to the public internet. The project is then cut off from the internet. Some teams need exactly that, but it has big effects. |
These switches apply to the whole project. If you turn one off, it applies to every workload. So decide them once, as a policy, and don't keep changing them.
Turning off Resolve names (DNS) breaks more than you expect. No name can be looked up anymore. The errors show up as timeouts in places that seem unrelated. You won't see a clear denial.


Writing a rule
Open Network and choose New rule. A rule names the workloads it applies to. It also names a peer and the ports. Every rule is either Allow or Deny. You can only allow a domain name. To block one, leave it out of your allow rules. While Reach the internet is on, an outbound allow rule changes nothing.
klickops can also derive rules from traffic it has seen. Then you don't have to guess what an app talks to. Let the app run. After that, klickops suggests rules that match the traffic it saw. Read the suggestions before you accept them. Observed traffic shows everything that happened. That can include traffic you don't want.
Seeing what is happening
The Network page shows the traffic each workload actually produced. Blocked connections are listed too, and those are the useful ones. Choose Allow on a blocked connection, and klickops drafts the missing rule for you. You don't have to guess the cause from a timeout.
Limits and gotchas
- These rules don't encrypt traffic inside a project. The firewall only decides who may connect.
- Allow rules only add access. While a default is on, an allow rule next to it changes nothing. To close something, turn the default off. Or add a Deny rule.
- The internet means the public internet. Reach the internet and public-internet rules never reach private networks. The hosting provider's internal addresses stay blocked too. A rule for a domain name must name a public service. If your platform administrator turned internet access off, the switch stays off.
- The internet is open on a few ports only. The platform's outer firewall lets connections to the internet through on HTTP (80), HTTPS (443), SSH (22), DNS (53), NTP (123) and ping. It drops every other port, and no rule in klickops can open one. That includes mail on ports 25, 465 and 587. To send mail, use your mail provider's HTTPS API. Most providers offer one. These drops happen outside your project, so the Network page doesn't list them.
- A block looks like a hang. A blocked connection is usually not refused. It times out. If a request is strangely slow, check the Network page.
- The firewall needs a network layer (Cilium). Without it, the Network page tells you so and shows no switches or rules. Your apps still run. They reach each other and the internet with the platform defaults.