From owner-freebsd-questions@FreeBSD.ORG Fri Jul 16 23:34:09 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 73A6916A4CE for ; Fri, 16 Jul 2004 23:34:09 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E0F243D3F for ; Fri, 16 Jul 2004 23:34:09 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) by internet.potentialtech.com (Postfix) with ESMTP id 6955C69A3F; Fri, 16 Jul 2004 19:34:08 -0400 (EDT) Date: Fri, 16 Jul 2004 19:34:07 -0400 From: Bill Moran To: freebsder Message-Id: <20040716193407.52a3d8b4.wmoran@potentialtech.com> In-Reply-To: <20040716203038.93767.qmail@web52502.mail.yahoo.com> References: <20040716203038.93767.qmail@web52502.mail.yahoo.com> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2 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: Fri, 16 Jul 2004 23:34:09 -0000 freebsder wrote: > All my computers can ping each other! BUT I can only > connect to the internet from the FreeBSD server. All > requests made by the WinXP machines go unanswered!! > Yet when I ping from them, they can connect to any > computer on the network BUT CANNOT ping OUTSIDE the > network nor fetch any information outside this > network. > > Any ideas why my FreeBSD machine is not routing these > requests and putting up a road block? > > RC.CONF > > font8x14="NO" > font8x16="swiss-8x16" > font8x8="swiss-8x8" > inetd_enable="YES" > linux_enable="YES" > moused_enable="YES" > moused_port="/dev/psm0" > moused_type="auto" > nfs_client_enable="YES" > nfs_server_enable="YES" > rpcbind_enable="YES" > saver="rain" > scrnmap="NO" > usbd_enable="YES" > ifconfig_vr0="DHCP" > ifconfig_ed0="DHCP" > > ##initialise NIC > network_interfaces="vr0 ed0 lo0 tun0" > ifconfig tun0 > > #ifconfig vr0= "media 10baseT/UTP up" > #ifconfig_ed0="inet 192.168.0.3 netmask 255.255.0.0" > > #Changes as suggested: > ifconfig_ed0="inet 192.168.1.1/24" > ifconfig_vr0="inet 192.168.0.1/24 media 10baseT/UTP > up" > > #ifconfig_vr0="inet 192.168.0.1 netmask 255.255.0.0" > > hostname="my.server.com" > > ##User ppp configuration > ppp_enable="YES" > ppp_mode="ddial" > ppp_nat="NO" > ppp_profile="bellnet" > #ppp_user="root" > > > ## Firewall > gateway_enable="YES" > firewall_enable="YES" > firewall_type="OPEN" > #firewall_quiet="NO" > firewall_script="/etc/rc/firewall" > natd_enable="YES" > natd_interface="vr0" I believe you'll want: natd_interface="ppp0" or is it "tun0"? I don't remember (long time since I've used ppp) but the upshot is that whatever interface ppp creates when it dials, that's what you want natd_interface set to. > natd_flags="redirect_port tcp 192.168.1.1:80 80" > rpc_statd_enable="YES" > tcp_extensions="YES" > > ## Mail > sendmail_enable="YES" -- Bill Moran Potential Technologies http://www.potentialtech.com