Iptables NAT with windows servers (netbios ?)

Mike Burger mburger at bubbanfriends.org
Tue Jul 5 11:29:21 UTC 2005


On Mon, 4 Jul 2005 redhat at buglecreek.com wrote:

> Here is the setup I would like to use:  I am using a Redhat 3 box to
> firewall and nat an internal network with both Windows and Linux
> clients.  The windows clients need to be able to login and see their
> drives on a windows server that is located on another network on the
> other side on the Linux box.  The natting seems to work find (all
> clients can browse the Internet), however when the windows clients log
> in and then try to access their drives on the server in the other
> network all they see is their local drive.  No error is shown during the
> login.  Is there a way to get this to work through the Linux box?  I
> have seen people mention to nat everything but the netbios traffic ( not
> sure about that).  Also, there is the LMHOSTS file, is that a possible
> solution?  I'm not very familiar with windows, so this is really
> challenging me.  Hopefully, the diagram below will further clarify.
> Also,
> it is desired to keep the Windows server in its present location.
>
> 202.x.x.x            eth0                eth1          192.168.x.x
> windows server ----- Linux Box (NAT/Firewall) --------win/linux clients

I'm afraid that we're probably going to need more info, such as your 
iptables rules, whether or not you've opened up all the appropriate ports.

--
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request at bubbanfriends.org

with a message of:

subscribe




More information about the redhat-list mailing list