[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: firewall/router configuration trouble
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: firewall/router configuration trouble
- From: Russell McGregor <rdmcgregor_(_at_)_gmail_(_dot_)_com>
- Date: Thu, 2 Dec 2004 17:38:38 +1000
- Cc: Justin Schimnowski <justin_(_at_)_listenlab_(_dot_)_com>
- Reply-to: Russell McGregor <rdmcgregor_(_at_)_gmail_(_dot_)_com>
On Wed, 1 Dec 2004 09:09:09 -0800, Justin Schimnowski
<justin_(_at_)_listenlab_(_dot_)_com> wrote:
> I have a rdr in my pf.conf which directs web requests on x.y.z.a:80 ->
> 10.0.0.10:80
> 10.0.0.10 is a web server with multiple name based virtual servers on it.
> When I am on the internet side of the OpenBSD box I have no problem
> accessing the web sites hosted on 10.0.0.10 by name. But when I am sitting
> on the 192.168.0/24 network I can only access http://10.0.0.10/ entering the
> actual domain fails as well as http://x.y.z.a/
Does this rdr rule look like this:
rdr pass on rl0 proto tcp from any to x.y.z.a port 80 -> 10.0.0.10 port 80
I could be wrong, but is this problem caused because you have the
interface specified?
maybe if you add this line:
rdr pass on sis2 proto tcp from sis2:network to x.y.z.a port 80 ->
10.0.0.10 port 80
Anyway, like I said I could be wrong. Can't really run a POC on it right now.
Cheers,
Russell
Visit your host, monkey.org