I have an OpenBSD box at my office, it's hooked up to a cable modem
and does NAT.

We had a DSL modem put in yesterday that we want to use for certain
users or certain ports or if the cable dies.

In order to properly NAT out on the ADSL link I know I can use a pf
rule with route-to but I'm wondering if I can take advantage of the
new multiple routing table stuff in 4.1.

Can I do this? does that make sense?

Since both ISPs require that I run dhclient all the time, I made some
changes to /sbin/dhclient-script to add the routes for the DSL line to
a second routing table.

I've tried writing pass rules (for both internal and external
interfaces) that use the second routing table but I can't get 'em
working.

Either it's not possible to do this or I'm on glue and did something
wrong, or both. Maybe by the time pf tries to change the route it's
too late, maybe I'm missing something in my second routing table. I
don't know..

Reply via email to