Puppet Class: nftables::rules::mosh

Defined in:
manifests/rules/mosh.pp

Summary

manage in mosh

Overview

Parameters:

  • ports (Nftables::Port::Range) (defaults to: '60000-61000')

    mosh port range



3
4
5
6
7
8
9
10
# File 'manifests/rules/mosh.pp', line 3

class nftables::rules::mosh (
  Nftables::Port::Range $ports = '60000-61000',
) {
  nftables::rule {
    'default_in-mosh':
      content => "udp dport ${ports} accept",
  }
}