From owner-freebsd-net@FreeBSD.ORG Fri Jul 29 10:00:53 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7E4F16A41F for ; Fri, 29 Jul 2005 10:00:53 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C72343D46 for ; Fri, 29 Jul 2005 10:00:51 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from 217-13-2-82.dd.nextgentel.com ([217.13.2.82] helo=h311r4z3r) by mail.yazzy.org with esmtps (TLSv1:AES256-SHA:256) (YazzY.org) id 1DyRfI-0001XH-8N; Fri, 29 Jul 2005 12:00:29 +0200 Date: Fri, 29 Jul 2005 12:00:50 +0200 From: Marcin Jessa To: Emile Jackson Message-Id: <20050729120050.4144fcd1.lists@yazzy.org> In-Reply-To: References: Organization: YazzY.org X-Mailer: Sylpheed version 2.0.0rc (GTK+ 2.6.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -2.5 (--) Cc: freebsd-net@freebsd.org Subject: Re: FreeBSD NAT and Windows Shares. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 10:00:54 -0000 On Fri, 29 Jul 2005 10:55:17 +0200 Emile Jackson wrote: > Hello, > > For some time now I have a problem with a FreeBSD NAT and I can't > find a solution. I consulted others and some came with hardware based > solutions, but I wonder if there is a software solution. > > This is the situation: > > We have a wired network in our building. Every apartment has a network > connection on the wall, so you just plug in your network cable. On this > network is a dhcp service to provide every machine with an ip-number. > With a dial in connection, provided by the university you can dial in > to a PPPoE service to connect to the internet. > Inside our apartment we have 2 machines: A Win2k and a winXP. Both get > an Ip adress from the dhcp, but only one can acces the internet, because > I have one dial-in account. > > So I placed a FreeBSD machine, which could also provide other services like > ftp. > > I installed it as a NAT. Also I added the PPPoE account which makes a > TUN device. So far it works. All machines can access the internet and > retreive websites. > > On the network in the building are windows shares. Provided by other users. > > My question is: > > Is it possible that my windows machines can acces these shares, through > the FreeBSD NAT, without installing extra hardware? Yes, set up your FreeBSD box as wins server for the WinXP boxes behind NAT. > I read about SMB clients, but this only seems to work if I wanted to acces > these shares from my FreeBSD machine. > > > Thanks, > > Emile > > _________ _________ > | | | | > | WIN2k | | WINXP | > | (mine) | | (mine) | > |_________| |_________| > |______________| > ____|____ > | | > internet > | FreeBSD | > _________ > | (mine) | > ____|___ > |_________| > | | > ______|___________________________________________|PPPoE | > | | | > |Gateway | > ___|_____ _____| __ __|_ > |________| > | | | | |DHCP| > | WIN2k | | WINXP | > | | | | > |_________| |_________| > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"