From owner-freebsd-questions@FreeBSD.ORG Thu Apr 6 21:29:09 2006 Return-Path: X-Original-To: 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 A36DB16A405 for ; Thu, 6 Apr 2006 21:29:09 +0000 (UTC) (envelope-from reitz@eecs.cwru.edu) Received: from beta.eecs.cwru.edu (beta.EECS.CWRU.Edu [129.22.150.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A9BF43D4C for ; Thu, 6 Apr 2006 21:29:09 +0000 (GMT) (envelope-from reitz@eecs.cwru.edu) Received: from cerne.EECS.CWRU.Edu ([::ffff:129.22.151.43]) (TLS: TLSv1/SSLv3,168bits,DES-CBC3-SHA) by beta.eecs.cwru.edu with esmtp; Thu, 06 Apr 2006 17:29:05 -0400 id 000ABF2D.44358821.00000605 Date: Thu, 6 Apr 2006 17:29:05 -0400 (EDT) From: Andy Reitz To: EDPSB In-Reply-To: <028001c65561$131f12b0$d400a8c0@itcom> Message-ID: References: <028001c65561$131f12b0$d400a8c0@itcom> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: questions@FreeBSD.org Subject: Re: Access ip local 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: Thu, 06 Apr 2006 21:29:09 -0000 On Sat, 1 Apr 2006, EDPSB wrote: > Dear Sir, > > Iam a beginner with freebsd. > Iam using vers 4.11 fo gateway with dedicated internet. > > If i want to access one of comp client (ip local) from internet ,how can i do??? > Example : ip client : 192.168.1.25 port 80, 4500,4600 > > Is it possible to using ipfw??? Hello Yuda, If I understand you correctly, you would like to configure your FreeBSD machine in such a way that it allows clients on the private network to get access to the Internet. You can definitely do this (it is what I do at home), and FreeBSD is a wonderful system to use for such a purpose. Along with ipfw, you will also need to use natd. The relevant selections from the handbook that you will want to read are: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html and http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html Good luck, -Andy Reitz.