Defined Type: iptables::listen::all
- Defined in:
- manifests/listen/all.pp
Overview
Allow all protocols to all ports from a select set of networks
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'manifests/listen/all.pp', line 64
define iptables::listen::all (
Boolean $first = false,
Boolean $absolute = false,
Integer[0] $order = 11,
Enum['ipv4','ipv6','all','auto'] $apply_to = 'auto',
Simplib::Netlist $trusted_nets = simplib::lookup('simp_options::trusted_nets', { 'default_value' => ['127.0.0.1'] })
){
iptables_rule { "all_${name}":
first => $first,
absolute => $absolute,
order => $order,
apply_to => $apply_to,
content => template("${module_name}/allow_all_services.erb")
}
}
|