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