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