Jan Engelhardt a écrit :
ip route add $(address of google.com) src $(my alternate address) should do it. IPsec already does so if I am not mistaken.
Note: it does not appear to work (unless my fingers did something wrong), for multiple addresses within an interface. The selected source address is still the same. I suspect the only thing you can change is the outgoing interface ; source address selection logic then remains the same.
-- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html