From: Jonathan Boyett Date: Wed, 22 Jun 2011 17:23:52 +0000 (-0700) Subject: add masquerade sample to test manifest X-Git-Tag: v0.0.1~30 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=45e8247c85913d1e9342ce42051fb439fa7e7132;p=puppet-modules%2Fpuppetlabs-firewall.git add masquerade sample to test manifest --- diff --git a/examples/iptables/test.pp b/examples/iptables/test.pp index e8dc156..57eec86 100644 --- a/examples/iptables/test.pp +++ b/examples/iptables/test.pp @@ -14,6 +14,15 @@ firewall { '001 allow boo': source => "2.2.2.0/24", } +firewall { '100 snat for network foo2': + chain => 'POSTROUTING', + jump => 'MASQUERADE', + proto => 'all', + outiface => 'eth0', + source => '10.1.2.0/24', + table => 'nat' +} + firewall { '999 bar': dport => "1233", proto => "tcp",