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