Resource Type: iptables_default_policy

Defined in:
lib/puppet/type/iptables_default_policy.rb
Providers:
enforce

Overview

Manage the default policy on iptables tables built-in chains

Properties

  • policy (defaults to: DROP)

    The IPTables JUMP policy to apply

    Supported values:
    • ACCEPT
    • DROP
    • accept
    • drop

Parameters

  • apply_to (defaults to: all)

    What version(s) of iptables to which to apply this rule. ‘all’ is equivalent to [‘ipv4’, ‘ipv6’] as appropriate.

    Supported values:
    • ipv4
    • ipv6
    • all
  • chain (namevar)

    The targeted chain

  • name

    A name of the form <table>:<chain> to which the resource will be applied

  • provider

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

  • table (namevar)

    The table that the chain belongs to