Puppet Class: confdroid_apache::firewall::iptables

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

Summary

manage firewall settings through cd_firewall or puppetlabs-firewall

Overview

confdroid_apache::firewall::iptables.pp Module name: confdroid_apache Author: 12ww1160 (12ww1160@ConfDroid.com)



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'manifests/firewall/iptables.pp', line 6

class confdroid_apache::firewall::iptables (

) inherits confdroid_apache::params {
  if $ae_manage_fw == true {
    firewall { "${ae_order_no}${ae_http_port} tcp http port ${ae_http_port}":
      proto => 'tcp',
      dport => $ae_http_port,
      jump  => 'accept',
    }

    firewall { "${ae_order_no}${ae_https_port} tcp http port ${ae_https_port}":
      proto => 'tcp',
      dport => $ae_https_port,
      jump  => 'accept',
    }
  }
}