From owner-freebsd-questions Sun Feb 2 11:31:31 2003 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 ACE4937B401 for ; Sun, 2 Feb 2003 11:31:29 -0800 (PST) Received: from sonic.futurequest.net (sonic.futurequest.net [63.151.144.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 059B743F9B for ; Sun, 2 Feb 2003 11:31:29 -0800 (PST) (envelope-from java@foxengines.net) Received: (qmail 15307 invoked from network); 2 Feb 2003 19:31:28 -0000 Received: from foxengines.net (63.151.144.162) by sonic.futurequest.net (63.151.144.3 ); 02 Feb 2003 19:31:28 -0000 Received: from unknown (HELO [192.168.1.108]) (68.65.184.84) by foxengines.net (63.151.144.162) with ESMTP; 02 Feb 2003 19:31:28 -0000 Date: Sun, 2 Feb 2003 17:28:05 -0500 (EST) From: Rich Fox X-X-Sender: rich@test_server.no.domain Reply-To: Rich Fox To: Kyle Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Setting up a FreeBSD Gateway question In-Reply-To: <3E3D6116.3050407@verizon.net> Message-ID: <20030202171559.Q3150-100000@test_server.no.domain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, This is a pretty common procedure and is documented in the freebsd handbook. Please see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/natd.html Beware the ipfw default to allow settings. I think there are also some tutorials out on the 'net. You will likely want to alter the inetd.conf file in /etc for enabling ssh and disabling whatever other features you don't want. You can also run ssh as a dedicated process. You can find more information about inetd in the handboox as well. Rich. | Rich Fox | rich@foxengines.net | 86 Nobska Road | Woods Hole, MA 02543 | MA 508 548 4358 | VA 703 201 6050 On Sun, 2 Feb 2003, Kyle wrote: > Hello, > > > I am trying to set up a Freebsd gateway. the gateway will connects to > the net. i have a laptop that will connect to the gateway in order to > access the net. the gateway has 2 NIC's, one external(vr0), one > internal(dc0). the laptop is connected to the gateway via a cross-over > cable. the gateway is running FreeBSD 4.7, the laptop is running red hat > Linux 8.0. what do i need to do to get the gateway working and the > laptop to access the net through the gateway? do i need to setup > ipnat/ipfw? if so how? i also want to telnet or openssh the gateway. > > thank you, kyle > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message