Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 13:35:56 -0500
From:      Bob K <melange@yip.org>
To:        Randy Bush <randy@psg.com>
Cc:        FreeBSD Stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: nattting netbios
Message-ID:  <20020325133556.O1331@yip.org>
In-Reply-To: <E16pZ2i-0001wx-00@rip.psg.com>; from randy@psg.com on Mon, Mar 25, 2002 at 10:18:04AM -0800
References:  <E16pZ2i-0001wx-00@rip.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 25, 2002 at 10:18:04AM -0800, Randy Bush wrote:
> 4.5-stable host running win98se client under vmware
> 
> if i have the vanilla ipfw
> 
>     flush
>     add divert natd all from any to any via wi0
>     add pass all from any to any
> 
> natd
> 
>     dynamic yes
>     unregistered_only yes
>     interface wi0
> 
> setup, can i tell netd to specifically redirect all netbios and other
> windoze stuff to the natted private address port?

In your natd config file, put something like this:

redirect_port tcp nat.te.d.ip:137-139 137-139
redirect_port udp nat.te.d.ip:137-139 137-139

-- 
Bob <melange@yip.org> | It's pretty good, if you don't think about it.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020325133556.O1331>