summaryrefslogtreecommitdiff
path: root/manifests/virtual/gobby.pp
blob: 5554a1103511786e9d6e913bb50fcf3203ae2b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
class firewall::virtual::gobby($destination, $zone = 'fw') {
  shorewall::rule { 'gobby-0':
    action          => 'DNAT',
    source          => 'net',
    destination     => "$zone:$destination:6523",
    proto           => 'tcp',
    destinationport => '6523',
    ratelimit       => '-',
    order           => 2400,
  }
}