On Mon, 2005-05-09 at 15:56:09 +0200, Daniel Hartmeier proclaimed... > There's only one interface, with two addresses assigned to it? And you > want SMTP connections to use one particular source address?
Yes. > 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). Hmm, can I NAT an ipv6 address? Basically I'm trying to send a specific address as the source for an IPv6 connection (so the connection doesn't appear to be coming from the tunnel end-point address; instead a part of the /64 assigned to that node). > 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. > :) Heh, thanks :)