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