Puppet Class: confdroid_ssh::firewall::iptables

Inherits:
confdroid_ssh::params
Defined in:
manifests/firewall/iptables.pp

Summary

Class manages firewall rules for SSH

Overview

confdroid_ssh::firewall::iptables.pp Module name: confdroid_ssh Author: 12ww1160 (12ww1160@confdroid.com)



6
7
8
9
10
11
12
13
14
15
16
# File 'manifests/firewall/iptables.pp', line 6

class confdroid_ssh::firewall::iptables (

) inherits confdroid_ssh::params {
  firewall { "${ssh_fw_order}${ssh_fw_port} allow SSH on port ${ssh_fw_port}":
    ensure => $ssh_fw_rule,
    proto  => 'tcp',
    source => $ssh_source_range,
    dport  => $ssh_fw_port,
    jump   => 'accept',
  }
}