From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 05:53:13 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 3FCA516A4B3 for ; Mon, 27 Oct 2003 05:53:13 -0800 (PST) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A42343F93 for ; Mon, 27 Oct 2003 05:53:12 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id B1D573B05; Mon, 27 Oct 2003 08:53:11 -0500 (EST) Sender: lowell@be-well.ilk.org To: Wayne M Barnes References: <20031025173605.GA11602@etaq.com> From: Lowell Gilbert Date: 27 Oct 2003 08:53:11 -0500 In-Reply-To: <20031025173605.GA11602@etaq.com> Message-ID: <44r80ywzw8.fsf@be-well.ilk.org> Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: How to see subnet page X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 13:53:13 -0000 Wayne M Barnes writes: > I have a private (192...) subnet on a separate ethernet card. > > From anwwhere, I want to view a web page being put out by 192.169.0.22 > of my subnet. I can (only) view it when I am at my console, but > I want to view it from home, for instance. > > What lines in /etc/rc.firewall would accomplish this? > I was thinking I might come into my public IP address:8080, and > have web requests to 8080 be [diverted, forwarded, shunted, passed] to > the web server on 192.169.0.22. > > I can't seem to satisfy ipfw syntax for this; nor can > I fathom the man page for ipfw. > > I would appreciate a sample rc.firewall, if anyone knows this > situation. The firewall can't do this. You need NAT.