Puppet Class: nftables::rules::wireguard
- Defined in:
- manifests/rules/wireguard.pp
Summary
manage in wireguardOverview
3 4 5 6 7 8 9 10 |
# File 'manifests/rules/wireguard.pp', line 3
class nftables::rules::wireguard (
Array[Stdlib::Port,1] $ports = [51820],
) {
nftables::rule {
'default_in-wireguard':
content => "udp dport {${join($ports,', ')}} accept",
}
}
|