Puppet Class: samba::server::firewall

Defined in:
manifests/server/firewall.pp

Overview

Class: samba::server::firewall

TCP Ports for Samba: 139 445



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/server/firewall.pp', line 7

class samba::server::firewall {
  $manage_firewall = $samba::server::manage_firewall

  if $manage_firewall {
    # This list will expand when LDAP support is build into the module
    firewall { '139 - netbios':
      port   => '139',
      proto  => 'tcp',
      action => 'accept',
    }
    firewall { '445 - smbd':
      port   => '445',
      proto  => 'tcp',
      action => 'accept',
    }
  }
}