aboutsummaryrefslogtreecommitdiff
path: root/manifests/nat.pp
blob: e69c1c0c86cc7450e325f46e470a524cdbc96574 (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.d/${order}-${name}":
        line => "${name} ${interface} ${internal} ${all} ${local}"
    }           
}