[Samba] samba through a firewall

Thierry TERRIER thierry.terrier at atolltech.fr
Thu Jun 6 08:44:02 GMT 2002

You have to open the following ports with associated protocols.
accept ... tcp destination port netbios-ssn
accept ... udp destination port netbios-ns
accept ... udp destination port netbios-dgm
Bastille firewall do that.
If you want to use smb or netbios broadcast names resolution (smblookup),
you must add
accept ... udp source port netbios-ns

Please forget telnet and use ssh in place.

Best regards

----- Original Message -----
From: "Paul Blackaller" <Paul.Blackaller at lfs.co.uk>
To: <samba at lists.samba.org>
Sent: Thursday, June 06, 2002 10:52 AM
Subject: [Samba] samba through a firewall

> Hi
> I have samba installed & running successfully on a Solaris 8 server.
> directory shares were working as expected until the machine was put on a
> DMZ, and now it's stopped working.  I can ping from my PC to the server,
> telnet, but samba seems to have no route through the firewall - possibly
> firewall needs to have different ports opened up to allow samba traffic
> through?  I need to know which port numbers smbd & nmbd use.
> Appreciate any ideas to help solve my problem.
> Thanks & regards
> Paul Blackaller
> Technical Analyst
> Lynx Financial Systems
> Tel: 01582 845137
> e-mail:  paul.blackaller at lfs.co.uk
> This email is intended only for the use of the addressees named above and
> may be confidential or legally privileged.  If you are not an addressee
> must not read it and must not use any information contained in it, nor
> it, nor inform any person other than Lynx Financial Systems or the
> addressees of its existence or contents.  If you have received this email
> and are not a named addressee, please delete it and notify the Lynx
> Financial Systems IT Department on 01582 845000.

More information about the samba mailing list