From owner-freebsd-net@FreeBSD.ORG Fri Jul 29 09:02:52 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 CCF5416A41F for ; Fri, 29 Jul 2005 09:02:52 +0000 (GMT) (envelope-from emilejackson@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1626643D53 for ; Fri, 29 Jul 2005 09:02:51 +0000 (GMT) (envelope-from emilejackson@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so488254nzo for ; Fri, 29 Jul 2005 02:02:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OZdAEoFlvw0oX5ibZ+RScMKkO97RzTY3cvfPG+Ez0AAnITSIlqIdGgXHMOww1cy+J8szlrm+7zzrZsH1cgvbUq1kIJuLFA0CS0u32yxVMK0ZJj0hjvVt/pqdBOMJdTbY1P8K9ZoSg+WltMBxzKPTbkaDql9k23UnDQP1IM3DBUE= Received: by 10.36.71.2 with SMTP id t2mr2875600nza; Fri, 29 Jul 2005 01:55:17 -0700 (PDT) Received: by 10.36.141.18 with HTTP; Fri, 29 Jul 2005 01:55:17 -0700 (PDT) Message-ID: Date: Fri, 29 Jul 2005 10:55:17 +0200 From: Emile Jackson To: freebsd-net@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: FreeBSD NAT and Windows Shares. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Emile Jackson 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 09:02:52 -0000 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? I read about SMB clients, but this only seems to work if I wanted to acces= =20 these shares from my FreeBSD machine. Thanks, Emile _________ _________ | | | | | WIN2k | | WINXP | | (mine) | | (mine) | |_________| |_________| =20 |______________| ____|____ | | =20 internet | FreeBSD | =20 _________ | (mine) | =20 ____|___ |_________| =20 | | ______|___________________________________________|PPPoE | | | | =20 |Gateway | ___|_____ _____| __ __|_ =20 |________| | | | | |DHCP| | WIN2k | | WINXP | | | | | |_________| |_________|