From owner-freebsd-questions@FreeBSD.ORG Tue Jan 24 17:16:00 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 3234016A41F for ; Tue, 24 Jan 2006 17:16:00 +0000 (GMT) (envelope-from wbs@infowest.com) Received: from guadix.infowest.com (guadix.out.smtp.infowest.com [204.17.177.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id E150C43D45 for ; Tue, 24 Jan 2006 17:15:59 +0000 (GMT) (envelope-from wbs@infowest.com) Received: from alora.infowest.com (alora.client.smtp.infowest.com [204.17.177.61]) by guadix.infowest.com (Postfix) with ESMTP id 73DA01657E3; Tue, 24 Jan 2006 10:15:59 -0700 (MST) Received: from [127.0.0.1] (209-33-199-253-dsl.infowest.net [209.33.199.253]) by alora.infowest.com (Postfix) with ESMTP id 40D331E3080; Tue, 24 Jan 2006 10:15:59 -0700 (MST) Message-ID: <43D660BB.5030103@infowest.com> Date: Tue, 24 Jan 2006 10:15:39 -0700 From: Lorin Lund User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: cblasius References: <43D6539E.1090900@o2.pl> In-Reply-To: <43D6539E.1090900@o2.pl> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Sharing internet connection, how? 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: Tue, 24 Jan 2006 17:16:00 -0000 cblasius wrote: > Hello! > > I have two ethernet cards on my computer. The first is rl0 - with > the adrress from my ISP xxx.xxx.xxx.xxx (DSL 1M), and the second is > vr0 - with the address 192.168.1.1. > > I want to use my computer as gateway to internet for the other > computers in my home. How I can sharing internet connection on my > computer to the rest computers in my home? I hve 2 computers (my and > my wife (rl0 192.168.1.2)). > > Could somone help me, I'm beginner? > > I have the following rc.conf file: > > defaultrouter="vvv.vvv.vvv.vvv" > gateway_enable="YES" > natd_enable="YES" > hostname="myhost" > ifconfig_rl0="inet xxx.xxx.xxx.xxx netmask 255.255.255.0" > ifconfig_vr0="inet 192.168.1.1 netmask 255.255.255.0" > linux_enable="YES" > moused_enable="YES" > moused_flags="-3" > sshd_enable="YES" > usbd_enable="YES" > > What I must to do else, because my wife could not connect to the > internet? > FreeBSD 6.0-RELEASE > > I'm sorry for my English. > > Best regards, > cblasius > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Is your wife's PC running Windows or FreeBSD? Can your wife's PC ping your PC? If not then that is the first problem to solve. Can your wife's PC ping an outside address given as numbers? (Like ping -c 4 18.7.22.69) If she can ping by number address but not by host name then the problem is her DNS configuration. If she can't ping by number address and you can then your PC is not forwarding things correctly - I've done that before but I don't remember all the details. The more information you can give us the more likely we will be able to help.