Hello Daniel,

Cool to get a reply from the great DH himself!

I was hoping the sample I posted would suffice, however, this is as far as I
got:

======  /etc/pf.conf =====
# ethernet: rl0 234.234.234.234
# cable: ne1 123.123.123.123
# lan: ne3 192.168.0.1

scrub in all
scrub out all

nat on rl0 from 192.168.0.0/23 to any -> 234.234.234.234

pass in all
pass out all

pass out on ne1 route-to ne1:123.123.123.7 from any to 123.123.123.123 keep
state
==========================

.. but this doesn't work. Pings to 123.123.123.123 get 'replied' to through
the rl0 (234.234.234.234) interface.

I know, no firewall yet, but I would like to get things working first and
then extend the ruleset. :)

Greetings,

Matijs


----- Original Message -----
From: "Daniel Hartmeier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 10:02 PM
Subject: Re: 2 gateways, route-to probs.


> On Tue, Aug 13, 2002 at 09:11:38PM +0200, Matijs wrote:
>
> > I am told I should use a route-to rule in /etc/pf.conf but I am totally
> > lost.
>
> Post a minimal rule set that reproduces the problem. Someone might spot
> the problem. If you expect someone to write the entire rule set for you,
> you better get your paypal account loaded and ready.
>
> Daniel

Reply via email to