11 lines
204 B
Puppet
11 lines
204 B
Puppet
class firewall::rules::in::ntp (
|
|
Array[Stdlib::Port] $ports = [123],
|
|
) {
|
|
|
|
$ports.each |$port| {
|
|
nftables::rule { "default_in-ntp_${port}":
|
|
content => "udp dport ${port} accept",
|
|
}
|
|
}
|
|
}
|