Projet

Général

Profil

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

root / manifests / rules / wireguard.pp @ ca24c673

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

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