Projet

Général

Profil

Paste
Télécharger au format
Statistiques
| Branche: | Révision:

root / manifests / rules / out / wireguard.pp @ fc8e52ed

Historique | Voir | Annoter | Télécharger (266 octets)

1 09cba182 Steve Traylen
# @summary manage out wireguard
2
# @param ports specify wireguard ports
3 ca24c673 tr
class nftables::rules::out::wireguard (
4 31b17627 Steve Traylen
  Array[Integer,1] $ports = [51820],
5 ca24c673 tr
) {
6 11bf7237 Steve Traylen
  nftables::rule {
7 ca24c673 tr
    'default_out-wireguard':
8
      content => "udp dport {${join($ports,', ')}} accept",
9
  }
10
}