Puppet Class: nftables::rules::pxp_agent

Defined in:
manifests/rules/pxp_agent.pp

Summary

manage in pxp-agent

Overview

Parameters:

  • ports (Array[Stdlib::Port,1]) (defaults to: [8142])

    pxp server ports



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

class nftables::rules::pxp_agent (
  Array[Stdlib::Port,1] $ports = [8142],
) {
  nftables::rule {
    'default_in-pxp_agent':
      content => "tcp dport {${join($ports,', ')}} accept",
  }
}