Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 4.52 KB

firewalld_policy.md

File metadata and controls

35 lines (26 loc) · 4.52 KB

firewalld_policy

Back to resource list

Provides

  • :firewalld_policy

Actions

  • :update

Properties

Name Name? Type Default Description
description String see description tag in firewalld.policy(5).
egress_zones [Array, String] array of zone names. See egress-zone tag in firewalld.policy(5).
forward_ports [Array, String] array of [port, protocol, to-port, to-addr]. See forward-port tag in firewalld.policy(5).
icmp_blocks [Array, String] array of icmp-blocks. See icmp-block tag in firewalld.policy(5).
ingress_zones [Array, String] array of zone names. See ingress-zone tag in firewalld.policy(5).
masquerade [true, false] see masquerade tag in firewalld.policy(5).
ports [Array, String] array of port and protocol pairs. See port tag in firewalld.policy(5).
priority Integer see priority tag in firewalld.policy(5).
protocols [Array, String] array of protocols, see protocol tag in firewalld.policy(5).
rich_rules [Array, String] array of rich-language rules. See rule tag in firewalld.policy(5).
services [Array, String] array of service names, see service tag in firewalld.policy(5).
short String see short tag in firewalld.policy(5).
source_ports [Array, String] array of port and protocol pairs. See source-port tag in firewalld.policy(5).
target String see target attribute of policy tag in firewalld.policy(5).
version String see version attribute of policy tag in firewalld.policy(5).

Examples

See the recipe used for testing.