11 lines
236 B
Puppet
11 lines
236 B
Puppet
class firewall::rules::in::consul (
|
|
Array[Stdlib::Port] $ports = [8300,8301,8302,8500,8503,8600],
|
|
) {
|
|
|
|
$ports.each |$port| {
|
|
nftables::rule { "default_in-consul_${port}":
|
|
content => "tcp dport ${port} accept",
|
|
}
|
|
}
|
|
}
|