On Fri, May 06, 2005 at 11:31:39AM -0500, eric wrote: > Am I going down the right road with this? I don't want fastroute as I do not > want to touch the routing table.
There's only one interface, with two addresses assigned to it? And you want SMTP connections to use one particular source address? If this is the case, you need a nat rule, as translating the source address is what you want to do. Not sure why you even tried route-to here, it doesn't affect what source address is used at all (as it comes after that choice is made outside of pf). You use route-to to send packets out through different interfaces or to different gateways. And just because you route something to gateway B doesn't mean the packet will have an appropriate source address within B's network. Nothing happens automatically just because it makes sense. :) Daniel
