Samba Port Usage: Difference between revisions

From SambaWiki
No edit summary
(note which protocols (UDP and/or TCP) are needed for each of the above entries.)
Line 1: Line 1:
When running with a firewall, several protocols/ports must be enabled to allow Samba 4 to operate as expected. These are:
When running with a firewall, several protocols/ports must be enabled to allow Samba 4 to operate as expected. These are:
* DNS: port 53
* DNS: port 53 (both TCP and UDP)
* Multicast DNS: port 5353
* Multicast DNS: port 5353 (both TCP and UDP)
* Samba/smbd: ports 137 - 139 and 445
* Samba/smbd: UDP ports 137 - 138, TCP ports 139 and 445
* EPMMAP: port 135
* EPMMAP: TCP port 135
* LDAP: port 389 and 636
* LDAP: TCP ports 389 and 636
* Kerberos: port 88 and 464
* Kerberos: ports 88 and 464 (both TCP and UDP)
* Directory Sync: 1024
* Directory Sync: TCP port 1024


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

Revision as of 04:16, 15 April 2013

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
  • Kerberos: ports 88 and 464 (both TCP and UDP)
  • Directory Sync: TCP port 1024

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