Configuration::Models::NetworkingConfig::FirewallRule
Inherits YAML::Serializable::Unmapped < YAML::Serializable < Reference < Object
Constructors
new
Sourcenew(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
SourceInstance methods
description
Optional human-readable description for the rule (used in Hetzner firewall description field)
direction
Direction of traffic: "in" or "out". Both directions are supported by Hetzner Cloud firewalls.
port
A single port ("80"), a range ("30000-32767"), or "any" for all ports (Hetzner API syntax)
protocol
Supported protocols: tcp, udp, icmp, esp, gre – defaults to tcp for backwards compatibility / convenience