Puppet Class: nftables::rules::out::openafs_client

Defined in:
manifests/rules/out/openafs_client.pp

Summary

allows outbound access for afs clients 7000 - afs3-fileserver 7002 - afs3-ptserver 7003 - vlserver

Overview

Parameters:

  • ports (Array[Stdlib::Port,1]) (defaults to: [7000, 7002, 7003])

    port numbers to use

See Also:



9
10
11
12
13
14
15
16
17
# File 'manifests/rules/out/openafs_client.pp', line 9

class nftables::rules::out::openafs_client (
  Array[Stdlib::Port,1] $ports = [7000, 7002, 7003],
) {
  include nftables::rules::out::kerberos

  nftables::rule { 'default_out-openafs_client':
    content => "udp dport {${$ports.join(', ')}} accept";
  }
}