# SLUG Mailing List Archives

## Re: [SLUG] Re: Netbios shares from outside a firewall

• To: slug@xxxxxxxxxxx
• Subject: Re: [SLUG] Re: Netbios shares from outside a firewall
• From: Ross Mitchell <rmitchell@xxxxxxxxxxx>
• Date: Fri Sep 28 11:45:02 2001

Thanks all,

I've tried these suggestions but it still doesn't seem to work. I did a tcpdump and noticed port 445 being used as well. Added it in to the forwards but still no connection. I'll post a note if I can work it out.

At 02:51 PM 27/09/2001 +1000, you wrote:

\begin{Crossfire}
> Ross Mitchell was once rumoured to have said:
> [Snip]
> > So I tried it the 'proper' way and used ipnat and rdr to pass
> > 137/138/139 tcp/udp on to the box from the 10's to the 169's. That
> > works (checked via nmap for tcp and udp) but trying a 'net view'
> > from the 10.x fails to find the box. I next tried allowing
> > broadcasts to redirect but still no go.
>
> You'll need to use either a lmhosts file on the clients trying to
> connect, or deploy a WINS server.  Broadcast host discovery doesn't
> function over subnet boundaries.

unless you use samba's "remote announce" option.

tho i've found anything other than explicitly setting a WINS server on
all hosts to be quite fragile.

--
- Gus

--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/