What ports need to be open for Samba to communicate with clients?

Updated -

The following ports must always be open to allow for two way Samba communication in a Microsoft environment:

netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp

netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp

netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp

In a Active Directory Environment, use the following:

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In