Samba Port Usage
From SambaWiki
When running with a firewall, several protocols/ports must be enabled to allow Samba 4 to operate as expected. These are:
- DNS: port 53
- Multicast DNS: port 5353
- Samba/smbd: ports 137 - 139 and 445
- EPMMAP: port 135
- LDAP: port 389 and 636
- Kerberos: port 88 and 464
- Directory Sync: 1024
TODO: Add rules needed for IPTABLES and other firewall types.