[KLUG Members] samba server can be browsed but not pinged

Adam Tauno Williams adam at morrison-ind.com
Wed Nov 10 10:58:05 EST 2004


> >You are exactly right.  Dropped the firewall and everything worked.
> >>> Try flushing the iptables table, and making sure the default policies are not
> >>> deny or reject.
> >I don't want to run without any firewall.  
> >The current IPTABLES has these lines:
> ># Firewall configuration written by lokkit
> ># Manual customization of this file is not recommended.
> >And I don't want to have to create one from scratch if I can avoid it.
> >However, the CLS version of the firewall config program (as opposed to
> >the gui) lets me allow certain ports.  Could I use that?  If so, what
> >ports?
> Add a few rules that open holes for ports 137, 138, and 139, both TCP 
> and UDP.  The NetBIOS (samba) over TCP protocol is a bit of a mess.  You 
> don't actually need all 6, but I've usually found it much easier to 
> allow all of them then try to figure out which set you actually need.

And port 445 (microsoft-ds) which is used by XP (and 2000 if some
patches have been installed).

Samba uses four ports:
udp/netbios-dgm (138)
udp/netbios-ns (137)
tcp/netbios-ssn (139)
tcp/microsoft-ds (445)



More information about the Members mailing list