Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.34 KB

firewalld_config.md

File metadata and controls

29 lines (19 loc) · 1.34 KB

firewalld_config

Back to resource list

Provides

  • :firewalld_config

Actions

  • :update

Properties

Name Name? Type Default Description Allowed Values
default_zone String Set default zone for connections and interfaces where no zone has been selected to zone. Setting the default zone changes the zone for the connections or interfaces, that are using the default zone.
log_denied String Set LogDenied value to value. If LogDenied is enabled, then logging rules are added right before reject and drop rules in the INPUT, FORWARD and OUTPUT chains for the default rules and also final reject and drop rules in zones. 'all', 'unicast', 'broadcast', 'multicast', 'off'

Examples

firewalld_config 'some values' do
  default_zone 'DROP'
  log_denied 'all'
end

See the recipe used for testing.