Cloud Platform
Firewall
Last updated 2026-11-05
Firewall
Rules belong to a VPC and apply to all its instances. They control which connections may start.
Defaults
| Direction | Default |
|---|---|
| Ingress (into an instance) | New connections are dropped. |
| Egress (out of an instance) | Allowed. |
The firewall is stateful: replies to an allowed connection are always let through, so you never need a rule for return traffic.
A rule
| Field | Meaning |
|---|---|
| Name | A label. |
| Direction | ingress or egress. |
| Action | allow or deny. |
| Protocol | any, tcp, udp, icmp or icmpv6. |
| Remote CIDR | The addresses the rule matches, for example 203.0.113.0/24. |
| Port range | First and last port, for tcp and udp. |
| Priority | Which rule wins when several match. A lower number is checked first. |
Examples
| Goal | Direction | Action | Protocol | Ports | Remote |
|---|---|---|---|---|---|
| SSH from the office | ingress | allow | tcp | 22 | 203.0.113.0/24 |
| A public web server | ingress | allow | tcp | 80 and 443 (one rule each) | 0.0.0.0/0 |
| Ping | ingress | allow | icmp | 0.0.0.0/0 | |
| Block one network | egress | deny | any | 198.51.100.0/24 |
Use ::/0 for all IPv6 addresses.
Always blocked
The platform drops some traffic regardless of your rules, to protect the network: DHCP servers run by tenants, spoofed IPv6 router advertisements, and packets whose source address does not match the interface that sent them.