summaryrefslogtreecommitdiff
path: root/manifests/nat.pp
blob: e29b78499c76d03b3292e8faeb688c12e41fa35d (plain)
1
2
3
4
5
6
7
8
9
10
11
define shorewall::nat(
    $interface,
    $internal,
    $all = 'no',
    $local = 'yes',
    $order='100'
){
    shorewall::entry{"nat-${order}-${name}":
        line => "${name} ${interface} ${internal} ${all} ${local}"
    }           
}