From owner-freebsd-questions@FreeBSD.ORG Sun Jul 16 11:49:08 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 289BB16A4E0 for ; Sun, 16 Jul 2006 11:49:08 +0000 (UTC) (envelope-from menwn@yahoo.co.uk) Received: from smtp008.mail.ukl.yahoo.com (smtp008.mail.ukl.yahoo.com [217.12.11.62]) by mx1.FreeBSD.org (Postfix) with SMTP id 47E4843D4C for ; Sun, 16 Jul 2006 11:49:07 +0000 (GMT) (envelope-from menwn@yahoo.co.uk) Received: (qmail 1114 invoked from network); 16 Jul 2006 11:49:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:From:Organization:To:Subject:Date:User-Agent:MIME-Version:Content-Disposition:Message-Id:Content-Type:Content-Transfer-Encoding; b=adIq6JLltdPOUp/v5uNvDrkrKROx4CiOOXeGRQddyoa7UmtUgPVV1a9t0NTpJzTNq9XO0qC9lJyAe6Q9p7epDIbLQTC7gp9e6SWrUdpKNX9NWjl+QW3ySCSeG5Vrdw/rqGOz9EiQivUnHotne/mLqCRqS353ylrTBLf6nIcwoqE= ; Received: from unknown (HELO ?192.168.1.65?) (menwn@194.219.35.65 with login) by smtp008.mail.ukl.yahoo.com with SMTP; 16 Jul 2006 11:49:05 -0000 From: andreas Sotirakopoulos Organization: GP To: freebsd-questions@freebsd.org. Date: Sun, 16 Jul 2006 14:48:45 +0300 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200607161448.45108.menwn@yahoo.co.uk> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Subject: ADSL Internet Sharing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jul 2006 11:49:08 -0000 Hi, I have some problems sharing my adsl internet connection between my FreeBSD 6.0 Box (server) and my Ubuntu 6.0.6 box (client). I use a crossover cable to connect the two PCs and on the FreeBSD PC I have an onboard network card (fxp0) and an wireless card (ural0) and on my Ubuntu box I have one NIC (eth0). My goal is to have my internet connection shared. The router I use to have internet access from my BSD box is downstairs so I connect to the internet via my wireless card. The ip address of the router is 192.168.1.1 and of my fxp0 interface 192.168.0.1. Of my eth0 is 192.168.0.2. I have set on Ubuntu as gateway 192.168.0.1 (my BSD box's address). Also i can ping the two pc from each other, but from ubuntu i cannot ping the router or any internet address. I have the following to my /etc/rc.conf gateway_enable="YES" firewall_enable="YES" firewall_type="OPEN" natd_enable="YES" natd_interface="fxp0" natd_flags="" and the option described on the Handbook compiled in the Kernel. What i missing? thanks in advance andreas Sotirakopoulos ___________________________________________________________ All New Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html