From owner-freebsd-questions@FreeBSD.ORG Sun Jul 18 15:38:51 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 30DA616A4CE for ; Sun, 18 Jul 2004 15:38:51 +0000 (GMT) Received: from mindfields.energyhq.es.eu.org (73.Red-213-97-200.pooles.rima-tde.net [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id C58CE43D54 for ; Sun, 18 Jul 2004 15:38:40 +0000 (GMT) (envelope-from flynn@energyhq.es.eu.org) Received: from scienide.energyhq.es.eu.org (scienide.energyhq.es.eu.org [192.168.100.1]) by mindfields.energyhq.es.eu.org (Postfix) with SMTP id 14DA6357BF; Sun, 18 Jul 2004 17:38:18 +0200 (CEST) Date: Sun, 18 Jul 2004 17:38:42 +0200 From: Miguel Mendez To: Stanley Wright Message-Id: <20040718173842.50372959.flynn@energyhq.es.eu.org> In-Reply-To: <20040718151949.86081.qmail@web14305.mail.yahoo.com> References: <20040718151949.86081.qmail@web14305.mail.yahoo.com> X-Mailer: Sylpheed version 0.9.12-gtk2-20040622 (GTK+ 2.4.4; i386-portbld-freebsd5.2.1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Sun__18_Jul_2004_17_38_42_+0200_GhtRoi2lxT9WyOuq" cc: freebsd-questions@freebsd.org Subject: Re: Internet connection sharing 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: Sun, 18 Jul 2004 15:38:51 -0000 --Signature=_Sun__18_Jul_2004_17_38_42_+0200_GhtRoi2lxT9WyOuq Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Sun, 18 Jul 2004 08:19:49 -0700 (PDT) Stanley Wright wrote: Hi, > What is the best way to share an internet connection between FreeBSD > and Linux and FreeBSD and windows. Assuming that the FreeBSD box is the one that's direcly connected to the internet: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html That part of the handbook (which I encourage you to read if you haven't already) explains what's NAT and how to set it up using ipfw/natd. You can also configure a nat box using ipf/ipnat. http://www.obfuscation.org/ipf can help if you choose to go the ipf route. Cheers, -- Miguel Mendez http://www.energyhq.es.eu.org PGP Key: 0xDC8514F1 --Signature=_Sun__18_Jul_2004_17_38_42_+0200_GhtRoi2lxT9WyOuq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA+pmFnLctrNyFFPERAj90AKDI5ccS43sTXTp/J5a376m8EgyRVQCeOlIl iSjXYHIrjldmDm6WMGuGkBU= =yjAf -----END PGP SIGNATURE----- --Signature=_Sun__18_Jul_2004_17_38_42_+0200_GhtRoi2lxT9WyOuq--