Create a firewall
cloud_create_firewallDefine firewall rules and apply them to Hetzner Cloud resources to control inbound and outbound traffic. Specify name, direction, protocol, port, and source or destination IPs.
Instructions
Create a firewall with rules. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Firewall name. | |
| rules | No | Rule objects: direction, protocol, port, source_ips or destination_ips. | |
| apply_to | No | Resources to apply the firewall to on creation. |