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