From 45e8247c85913d1e9342ce42051fb439fa7e7132 Mon Sep 17 00:00:00 2001 From: Jonathan Boyett <jonathan@failingservers.com> Date: Wed, 22 Jun 2011 10:23:52 -0700 Subject: [PATCH] add masquerade sample to test manifest --- examples/iptables/test.pp | 9 +++++++++ 1 file changed, 9 insertions(+) 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", -- 2.45.2