aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/ssh.pp
blob: 3b7efa2271a4ee9d129249a996727eeb39439c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class shorewall::rules::ssh(
  $ports,
  $source = hiera('shorewall_ssh_in_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';
  }
}