Ask Your Question

puppetlabs-firewall manage IPv4 and IPv6

asked 2013-08-25 05:00:15 -0500

doc75 gravatar image

updated 2013-08-27 04:33:55 -0500


I am trying to use the puppetlabs-firewall module to define similar rules for IPv4 and IPv6. I tries to search on the net, but did not find any example on how to specify that I want all rules to be run with iptables and ip6tables. Is that possible ?

If not, can I duplicate the rules to have the IPv4 and IPv6 ? If yes, how can I acheive it ? I tries to use the provider parameter for firewall, but it throws me an error.

As an example, I would like to have this rule to be applied with both iptables ... (more)

edit retag flag offensive close merge delete


Would you mind posting your code here?

GregLarkin gravatar imageGregLarkin ( 2013-08-26 16:32:16 -0500 )edit

Initial question edited to add example.

doc75 gravatar imagedoc75 ( 2013-08-27 04:34:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-27 09:34:00 -0500

GregLarkin gravatar image

This is a known issue as described in and

The first link contains a user-supplied defined type that you can try using as a workaround until the firewall providers are fixed.

Hope that helps!

edit flag offensive delete link more


Hello Greg, thanks for this answer, it perfectly fits my need. Next time I'll try to browse more accurately the bug tracker.

doc75 gravatar imagedoc75 ( 2013-08-27 13:55:05 -0500 )edit

No worries, and when I said "known issue", I only meant known by the Puppet issue tracker. :) It was news to me, too! Glad it helped.

GregLarkin gravatar imageGregLarkin ( 2013-08-27 14:08:51 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-08-25 05:00:15 -0500

Seen: 1,007 times

Last updated: Aug 27 '13