example42 / puppet-iptables

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

iptables::rule with rule defined is not respected #20

Closed grossjo closed 11 years ago

grossjo commented 11 years ago

It looks like you removed support for the rule param in the most recent iteration.

Was this on purpose?

Because something like this iptables::rule{ "$subnet-$netmask_short_accept_all" : command => '-A', chain => 'INPUT', target => 'ACCEPT', rule => "-s $subnet$netmask_short", }

will resolve to

-A INPUT -p tcp -s 0/0 -d 0/0 -j ACCEPT