[Samba] Use Samba on an other port than 137-139?

Oliver.Burkhalter at gs-vbs.admin.ch Oliver.Burkhalter at gs-vbs.admin.ch
Thu Sep 18 13:23:44 GMT 2003


Hello,

I would like to ask you if its possible to run Samba on an other port than
137-139?
I tried once to edit the "/etc/services" File.

The lines:

...
netbios-ns	137/tcp
netbios-ns	137/udp
netbios-dgm	138/tcp
netbios-dgm	138/udp
netbios-ssn	139/tcp
netbios-ssn	139/udp
...

I changed it to:

...
netbios-ns	6998/tcp
netbios-ns	6998/udp
netbios-dgm	6999/tcp
netbios-dgm	6999/udp
netbios-ssn	7000/tcp
netbios-ssn	7000/udp
...

but I`m now not sure if Samba runs really on these ports...?
I hope you can help me.

Yours sincerely
		oli

********************************************************
My system: Sun Solaris 8 / SPARCstation 20
Samba version: 2.2.8a

My email: olimination at web.de

********************************************************



More information about the samba mailing list