Resource Type: firewalld_direct_chain

Defined in:
lib/puppet/type/firewalld_direct_chain.rb
Providers:
firewall_cmd

Overview

Allow to create a custom chain in iptables/ip6tables/ebtables using firewalld direct interface.

Example:

firewalld_direct_chain {'Add custom chain LOG_DROPS':
    name           => 'LOG_DROPS',
    ensure         => 'present',
    inet_protocol  => 'ipv4',
    table          => 'filter'
}

Properties

  • ensure (defaults to: present)

    Manage the state of this type.

    Supported values:
    • present
    • absent

Parameters

  • inet_protocol (namevar) (defaults to: ipv4)

    Name of the TCP/IP protocol to use (e.g: ipv4, ipv6, eb)

    Supported values:
    • ipv4
    • ipv6
    • eb
  • name

    Name of the chain eg: LOG_DROPS

  • provider

    The specific backend to use for this ‘firewalld_direct_chain` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • table (namevar)

    Name of the table type to add (e.g: filter, nat, mangle, raw)