From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 21:34:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2982616A4CE for ; Tue, 13 Jul 2004 21:34:25 +0000 (GMT) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF52143D2F for ; Tue, 13 Jul 2004 21:34:24 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from speck.techno.pagans (c-24-21-228-149.client.comcast.net [24.21.228.149]) by mail.bitfreak.org (Postfix) with ESMTP id 1F4EC2A41A; Tue, 13 Jul 2004 14:34:21 -0700 (PDT) Received: from spud (w1.techno.pagans [172.21.42.21]) by speck.techno.pagans (Postfix) with ESMTP id CAF08A968; Tue, 13 Jul 2004 14:32:39 -0700 (PDT) From: "Darren Pilgrim" To: "'freebsder'" Date: Tue, 13 Jul 2004 14:32:46 -0700 Message-ID: <001001c46920$f347b790$152a15ac@spud> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal In-Reply-To: <20040713200422.36735.qmail@web52502.mail.yahoo.com> cc: freebsd-questions@freebsd.org Subject: RE: Freebsd 5.1 <-> Win XP Networking problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 21:34:25 -0000 > From: freebsder [mailto:freebsder51@yahoo.com] > > Hi Dave, > > I've changed the rc.conf as per you suggestion see > below. > Do I also need to change the > natd_flags="redirect_port tcp 192.168.0.3:80 80" > to > natd_flags="redirect_port tcp 192.168.1.0:80 80" > ?? See below. You need to correctly renumber your LAN first. The redirect_port option is going to be the IP address you assign to the internal interface of myserver. > Are there any other similar modifications that need to > be made somewhere? That depends on what you changed and what you have running on myserver and how you configured them. Any configuration setting that has an IP address of one of your machines will need to be changed. > ifconfig_ed0="inet 192.168.1.0/24 netmask 255.255.0.0" > ifconfig_vr0="inet 192.168.0.0/24 netmask 255.255.0.0" 192.168.1.0/24 and 192.168.0.0/24 are blocks of addresses in CIDR notation, not the actual addresses to be fed to ifconfig. You need to pick addresses within the netblock to use for myserver and all the other machines on your network. Since myserver can reach the internet just fine, you should keep the IP address for vr0 the same, just lengthen the netmask to allow the use of 192.168.1.0/24 on the LAN.