On Wed, Jan 30, 2002 at 05:43:07PM -0800, Mark Bigler wrote:

> I'd sure think that pf would do 
> all they want and more.

> > > We have a box that acts as our uber router that will have a
> > > wireless nic, wired nic, nic for the dsl, and nic for the cable. 
> > > It will be doing nat/firewall and dhcp.  Thats about it.  Is there
> > > anyway to tell
> > > the machine to send all packets on ports 21 and 80 through the
> > > cable and everything else through the DSL?

You mean like this?

  cable        dsl
 ports \      / all other
 21,80  router  ports
           |
          net

I don't think it's possible with pf.  The kernel would have to
route by port to route the packet through the right NIC.

That's not what NAT does.  It changes the source and/or destination
IP address.  Sure, it can do this selectively by port, but that's
not the same thing.

It may be possible with NAT and ALTQ combined, but I haven't looked
much at what ALTQ is capable of.

These types of ideas come up with some frequency on the [EMAIL PROTECTED]
ml -> http://marc.theaimsgroup.com/?l=openbsd-misc

--
<[EMAIL PROTECTED]>

Reply via email to