Projet

Général

Profil

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

root / manifests / rules / wireguard.pp @ 2e704fc9

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

1
# manage in wireguard
2
class nftables::rules::wireguard(
3
  Array[Integer,1]
4
    $ports = [51820],
5
) {
6
  nftables::rule{
7
    'default_in-wireguard':
8
      content => "udp dport {${join($ports,', ')}} accept",
9
  }
10
}