On Sun Oct 06 2002 at 18:00, Charles Griffin wrote:

> Hi there.  Newbie here running 8.0 and I've got samba
> and swat installed and running on my desktop.  I'm
> trying to get my windows laptop to connect.  I'm using
> the default smb.conf file and got my users set up.
> 
> I cannot connect to my linux box from my laptop unless
> I turn off the firewall that comes pre-configured with
> 8.0.  How can I have the firewall running but allow
> samba?  Do I have to open a port or something?

Ports 137, 138 and 139 are the netbios ports.

But be very careful, these ports are firewalled for a reason... they
are an invitation for chaos if you have these ports open to the
world.

So modify your iptables/ipchains rules to allow forwarding of
netbios traffic through your firewall, but at the same time restrict
the source and dest address of this particular traffic.

(If you don't know how to use iptables or ipchains, then you need
some background and this isn't the forum... there are plenty of
howtos available, a quick google search will get you the info you
need).

> Thanks.
> 
> Charles

Cheers
Tony




Reply via email to