HAProxy community

Source directive based on outgoing family



Does anybody knows if it’s possible to emit multiple “source” (for source IP binding) directives and have it used based on the outgoing family?

So we’d have:

source ipv4@<ipv4 address>
source ipv6@<ipv6 address>

And haproxy would smartly choose depending if the backend declaration (or resolver response) is AF_INET or AF_INET6?