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