Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 4.05 KB

firewalld_zone.md

File metadata and controls

36 lines (27 loc) · 4.05 KB

firewalld_zone

Back to resource list

Provides

  • :firewalld_zone

Actions

  • :update

Properties

Name Type Default Description
description String see description tag in firewalld.zone(5).
forward [true, false] see forward tag in firewalld.zone(5).
forward_ports [Array, String] array of (port, protocol, to-port, to-addr). See forward-port tag in firewalld.zone(5).
icmp_block_inversion [true, false] see icmp-block-inversion tag in firewalld.zone(5).
icmp_blocks [Array, String] array of icmp-blocks. See icmp-block tag in firewalld.zone(5).
interfaces [Array, String] array of interfaces. See interface tag in firewalld.zone(5).
masquerade [true, false] see masquerade tag in firewalld.zone(5).
ports [Array, String] array of port and protocol pairs. See port tag in firewalld.zone(5).
protocols [Array, String] array of protocols, see protocol tag in firewalld.zone(5).
rules_str [Array, String] array of rich-language rules. See rule tag in firewalld.zone(5).
services [Array, String] array of service names, see service tag in firewalld.zone(5).
short String see short tag in firewalld.zone(5).
source_ports [Array, String] array of port and protocol pairs. See source-port tag in firewalld.zone(5).
sources [Array, String] array of source addresses. See source tag in firewalld.zone(5).
target String see target attribute of zone tag in firewalld.zone(5).
version String see version attribute of zone tag in firewalld.zone(5).

Examples

See the recipe used for testing.