Smbclient and firewall?

Phillip Fry zoiddy001 at
Tue Sep 24 05:06:21 GMT 2002

I just recently set up a firewall and my smb client
doesn't work anymore.  When I disable my firewall
smbclient works fine. 

The error message I get is 

$ smbclient -L //hosta -d3
Initialising global parameters
params.c:pm_process() - Processing configuration file
Processing section "[global]"
added interface ip=aaa.bbb.ccc.ddd
bcast=aaa.bbb.ccc.255 nmask=
Client started (version 2.2.5).
resolve_wins: Attempting wins lookup for name
resolve_wins: WINS server == <>
bind succeeded on port 0
wins_srv_died(): WINS server appears to be
resolve_lmhosts: Attempting lmhosts lookup for name
name_resolve_bcast: Attempting broadcast lookup for
name hosta<0x20>
bind succeeded on port 0
Connection to hosta failed

What ports do I need to unblock to make smb client
work again.  I would like to have best of both worlds.
I already tried to unblock 137:udp, 138:udp and
139:tcp, and they don't see to work?  Does anyone have
any more info?  Is there a document somewhere I can
read?  I searched google and nothing turned up.  I
know for a fact my WINS server is up and running. 


Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!

More information about the smb-clients mailing list