From owner-freebsd-questions@FreeBSD.ORG Fri Dec 19 10:17:28 2003 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 8A29B16A543 for ; Fri, 19 Dec 2003 10:17:27 -0800 (PST) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65A9943D39 for ; Fri, 19 Dec 2003 10:17:26 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 19 Dec 2003 12:20:32 -0600 Message-ID: <3FE34093.1090800@daleco.biz> Date: Fri, 19 Dec 2003 12:16:51 -0600 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031124 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stan Wright References: <3FE33A1C.9010206@netscape.net> In-Reply-To: <3FE33A1C.9010206@netscape.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 Dec 2003 18:20:33.0390 (UTC) FILETIME=[CA8AF0E0:01C3C65C] cc: freebsd-questions@freebsd.org Subject: Re: Internet connection sharing with FreeBSD 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, 19 Dec 2003 18:17:28 -0000 Stan Wright wrote: > What is the best way to share an internet connection between two > FreeBSD machines ? The network [192.168.0.x] is already set up. I can > ssh etc. from one machine to the other. > > _______________________________________________ > 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" > > > Using ppp for Inet connection, or a NIC/broadband? I use "ppp -nat" for my modem connection. For broadband, use "natd_enable=YES" and "natd_interface=rl0" (or whatever if you have...) IIRC, you must have some kernel options to do the latter, or perhaps a KLD. Check the handbook section on "Network Address Translation" in chapter 19..... HTH, KDK