Resource Type: firewalld_direct_passthrough

Defined in:
lib/puppet/type/firewalld_direct_passthrough.rb
Providers:
firewalld_cmd

Overview

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

Example:

firewalld_direct_passthrough {'Forward traffic from OUTPUT to OUTPUT_filter':
    ensure        => 'present',
    inet_protocol => 'ipv4',
    args          => '-A OUTPUT -j OUTPUT_filter',
}

Or using namevar

firewalld_direct_passthrough {'-A OUTPUT -j OUTPUT_filter':
    ensure        => 'present',
}

Properties

  • ensure (defaults to: present)

    Manage the state of this type.

    Supported values:
    • present
    • absent

Parameters

  • args (namevar)

    Name of the passthroughhrough to add (e.g: -A OUTPUT -j OUTPUT_filter)

  • inet_protocol (defaults to: ipv4)

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

    Supported values:
    • ipv4
    • ipv6
    • eb
  • provider

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