Add a single rule to a firewall
hcloud firewall add-rule [options] (--direction in --source-ips <ips> | --direction out --destination-ips <ips>) (--protocol <tcp|udp> --port <port> | --protocol <icmp|esp|gre>) <firewall>
--description string Description of the Firewall rule
--destination-ips strings Destination IPs (CIDR Notation) (required when direction is out)
--direction string Direction (in, out) (required)
-h, --help help for add-rule
--port string Port to which traffic will be allowed, only applicable for protocols TCP and UDP, you can specify port ranges, sample: 80-85
--protocol string Protocol (icmp, esp, gre, udp or tcp) (required)
--source-ips strings Source IPs (CIDR Notation) (required when direction is in)
--config string Config file path (default "~/.config/hcloud/cli.toml")
--context string Currently active context
--debug Enable debug output
--debug-file string File to write debug output to
--endpoint string Hetzner Cloud API endpoint (default "https://api.hetzner.cloud/v1")
--hetzner-endpoint string Hetzner API endpoint (default "https://api.hetzner.com/v1")
--no-experimental-warnings If true, experimental warnings are not shown
--poll-interval duration Interval at which to poll information, for example action progress (default 500ms)
--quiet If true, only print error messages
- hcloud firewall - Manage Firewalls