11 lines
208 B
Puppet
11 lines
208 B
Puppet
class firewall::rules::in::https (
|
|
Array[Stdlib::Port] $ports = [443],
|
|
) {
|
|
|
|
$ports.each |$port| {
|
|
nftables::rule { "default_in-https_${port}":
|
|
content => "tcp dport ${port} accept",
|
|
}
|
|
}
|
|
}
|