On Thu, Jan 31, 2002 at 02:50:32PM -0800, Kahli R. Burke wrote: > You can use iptables to (PREROUTING) mark the packets in a way that > can be read later by the routing tools, for example:
<snip example> > Again, there are probably similar tools, like pf, on BSD. I just > don't know their usage exactly. Not with pf, at least not in this manner. The ability to tag/mark packets was recently added, but I haven't heard of anyone asking for or attempting to create a program to read the tags and perform routing operations based on those tags. IIRC, tags were added for accounting purposes. pf is interface based, and it's NAT rules only change destination and/or source address. ALTQ can be used to manage packet queueing on interfaces. I haven't played with ALTQ, but from briefly reading then manpages, it looks like you can control what interface the kernel will queue outgoing packets on based on a number of things, including destination port. Basically, this is a good example of how BSD and Linux solve the same problem in much different manners ;) -- <[EMAIL PROTECTED]>
