Samba Port Usage

From SambaWiki
Revision as of 21:26, 16 June 2013 by Mmuehlfeld (talk | contribs) (Added Global Catalog port)

When running with a firewall, several protocols/ports must be enabled to allow Samba 4 to operate as expected. These are:

  • DNS: port 53 (both TCP and UDP)
  • Multicast DNS: port 5353 (both TCP and UDP)
  • Samba/smbd: UDP ports 137 - 138, TCP ports 139 and 445
  • EPMMAP: TCP port 135
  • LDAP: TCP ports 389 and 636, UDP port 389
  • Kerberos: ports 88 and 464 (both TCP and UDP)
  • Directory Sync: TCP port 1024
  • Global Catalog: TCP port 3268

TODO: Add rules needed for IPTABLES and other firewall types.