Puppet Class: nftables::rules::afs3_callback

Defined in:
manifests/rules/afs3_callback.pp

Summary

Open call back port for AFS clients

Overview

Examples:

allow call backs from particular hosts

class{'nftables::rules::afs3_callback':
  saddr => ['192.168.0.0/16', '10.0.0.222']
}

Parameters:

  • saddr (Array[Stdlib::IP::Address::V4,1]) (defaults to: ['0.0.0.0/0'])

    list of source network ranges to a



8
9
10
11
12
13
14
# File 'manifests/rules/afs3_callback.pp', line 8

class nftables::rules::afs3_callback (
  Array[Stdlib::IP::Address::V4,1] $saddr = ['0.0.0.0/0'],
) {
  nftables::rule { 'default_in-afs3_callback':
    content => "ip saddr { ${saddr.join(', ')} } udp dport 7001 accept";
  }
}