aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/ssh.pp
blob: 0eebcb480f61b07b1a0bf29c4a2af9c0d6d5c90a (plain)
1
2
3
4
5
6
7
8
9
10
11
class shorewall::rules::ssh($ports) {
  $flatted_ports = join($ports,',')
  shorewall::rule { 'net-me-tcp_ssh':
    source          => 'net',
    destination     => '$FW',
    proto           => 'tcp',
    destinationport => $flatted_ports,
    order           => 240,
    action          => 'ACCEPT';
  }
}