Ask Your Question
0

puppetlabs-firewall manage IPv4 and IPv6

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

doc75 gravatar image

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

Hello,

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

Comments

Would you mind posting your code here?

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

Initial question edited to add example.

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

1 Answer

Sort by ยป oldest newest most voted
1

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

GregLarkin gravatar image

This is a known issue as described in http://projects.puppetlabs.com/issues/11440 and https://github.com/puppetlabs/puppetlabs-firewall/issues/123.

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

Comments

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 -0600 )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 -0600 )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

Stats

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

Seen: 1,030 times

Last updated: Aug 27 '13