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