Hetzner Cloud icon

Hetzner Cloud

Manage servers, volumes, networks and more in Hetzner Cloud

Firewall → Get

AI-generated

Summary

Retrieves a single Hetzner Cloud firewall by ID via GET /v1/firewalls/{id} and returns the firewall object.

Inputs

  • Firewall (required) — The firewall to fetch. Choose from a searchable list (loaded from the project's first 50 firewalls, filtered by name) or enter the numeric ID directly.
  • Request Options — Optional node settings: batching (items per batch, default 50, and interval in ms, default 1000), ignore SSL issues, HTTP proxy URL, and request timeout in ms (default 10000).

Output shape

One item per input item, containing the firewall object. The response is unwrapped from the API's firewall root property, so the output is the firewall itself (e.g. id, name, labels, rules, applied_to).

Requires Hetzner Cloud API credentials. The list picker shows only the first 50 firewalls, so use By ID for projects with more. A nonexistent ID returns an API error.

Examples

Example 1: Inspect the rules of a known firewall before modifying it

Resource: Firewall, Operation: Get, Firewall mode: By ID, value 42.

Example 2: Pick a firewall by name from a dropdown

Firewall mode: From List, search 'web' and select web-firewall.

Links

Discussion