Skip site navigation (1)Skip section navigation (2)
Date:      27 Oct 2003 08:53:11 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Wayne M Barnes <wayne@etaq.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to see subnet page
Message-ID:  <44r80ywzw8.fsf@be-well.ilk.org>
In-Reply-To: <20031025173605.GA11602@etaq.com>
References:  <20031025173605.GA11602@etaq.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Wayne M Barnes <wayne@etaq.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44r80ywzw8.fsf>