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