Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-19-2005, 01:18 PM   #1
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Samba Port Requirements

I'm setting up a firewall for a guy and he is running samba...

I noticed that samba has four ports it listens on.

netbios-ns/udp (Netbios Name Service)
netbios-dgm/udp (Netbios Datagram Service)
netbios-ssn/tcp (Netbios Session Service)
microsoft-ds/tcp (Microsoft Domain Service?!?)

I can take the logical guess and say netbios-ns, netbios-ssn, and probably microsoft-ds are totally neccesary for running a Windows Domain Server and doing filesharing. My question is what the heck do they use the dgm service for?
Old 01-19-2005, 05:58 PM   #2
LQ Guru
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Have a look at this.

good luck.
Old 01-19-2005, 09:23 PM   #3
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
I have all these ports open on my server but for local lan access only.
Mandrake Control Center 9.1 / Security / DrakFirewall
Click the "Advanced" tab to show the "Other ports" line and I've added this to the text input box:
445/udp 137/udp 138/udp 139/udp 445/tcp 137/tcp 138/tcp 139/tcp
They may not all be necessary but none are open to the internet, just local lan.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba - port already in use Sirkent Linux - Networking 5 07-19-2004 05:00 AM
samba port winchester169 Linux - Networking 4 03-13-2004 10:46 AM
Samba port clarification Apollo77 Linux - Networking 4 02-09-2004 10:03 AM
Samba 3 & port 445 Anibal Slackware 0 10-24-2003 12:22 PM
SAMBA Port Failure byersjlpa Linux - Networking 7 06-05-2002 03:16 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration