From: Ken Barber Date: Mon, 20 Jun 2011 22:30:01 +0000 (+0100) Subject: Small example for MASQUERADE. X-Git-Tag: v0.0.1~32 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=64fd558c76edf7a9f3005bcd6aeb15d797aaf6db;p=puppet-modules%2Fpuppetlabs-firewall.git Small example for MASQUERADE. --- diff --git a/README.markdown b/README.markdown index 15c640c..bb390a6 100644 --- a/README.markdown +++ b/README.markdown @@ -37,6 +37,17 @@ Deny all: jump => "DENY", } +Source NAT example (perfect for a virtualization host): + + firewall { '100 snat for network foo2': + chain => 'POSTROUTING', + jump => 'MASQUERADE', + proto => 'all', + outiface => "eth0", + source => ['10.1.2.0/24'], + table => 'nat', + } + ### Supported firewalls Currently we support: