Resource Type: firewalld_direct_rule
- Defined in:
- lib/puppet/type/firewalld_direct_rule.rb
- Providers:
-
firewall_cmd
Overview
Allow to pass rules directly to iptables/ip6tables/ebtables using firewalld direct interface.
Example:
firewalld_direct_rule {'Allow outgoing SSH connection':
ensure => 'present',
inet_protocol => 'ipv4',
table => 'filter',
chain => 'OUTPUT',
priority => 1,
args => '-p tcp --dport=22 -j ACCEPT',
}