example42 / puppet-iptables

Iptables Puppet Module (for host based firewalling)
http://www.example42.com
Other
14 stars 41 forks source link

ipv6 not supported for config:file #50

Open tasinet opened 10 years ago

tasinet commented 10 years ago

Hello,

Is there a way to use ipv6 rules with the 'file'-type config? I'd imagine you would be able to do something like:

    class { 'iptables':
            config => 'file',
            enable_v6 => true,
            template => 'iptables.erb',
            template_v6 => 'ip6tables.erb',
    }

However, there doesn't seem to be a template_v6 option to specify where the v6 rules should come from.

At the moment, enable_v6 doesn't seem to have any effect at all if config:file is used.