diff options
Diffstat (limited to 'manifests/nat.pp')
-rw-r--r-- | manifests/nat.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/nat.pp b/manifests/nat.pp new file mode 100644 index 0000000..e69c1c0 --- /dev/null +++ b/manifests/nat.pp @@ -0,0 +1,11 @@ +define shorewall::nat( + $interface, + $internal, + $all = 'no', + $local = 'yes', + $order='100' +){ + shorewall::entry{"nat.d/${order}-${name}": + line => "${name} ${interface} ${internal} ${all} ${local}" + } +} |