[Samba] Firewalling Samba server

John H Terpstra jht at samba.org
Thu Oct 27 18:35:24 GMT 2005


On Thursday 27 October 2005 12:23, Loren M. Lang wrote:
> On Thu, Oct 27, 2005 at 10:56:28AM -0700, DSanchez wrote:
> > I'm planning on firewalling my samba server, i understand that the ports
> > for samba are
> > 137 139 445. Does anyone know if these are udp or tcp ports?
>
> 137 udp for nmbd
> 139 and 445 tcp for smbd

Add port 138 UDP (nmbd).

Windows also uses port 135 TCP for MS DEC RPC, Samba-3 does not use this port.

- John T.


More information about the samba mailing list