Tested with IPv4 and IPv6 on Linux and FreeBSD.

In the logs, the effect can be seen in

2025-11-26 19:03:35 us=135073 [server] Peer Connection Initiated with 
[AF_INET]199.102.77.82:51194 (via [AF_INET]194.97.140.11%[undef])

vs.

2025-11-26 19:03:26 us=817844 [server] Peer Connection Initiated with 
[AF_INET]199.102.77.82:51194 (via [AF_INET]194.97.140.11%enp0s18)

("if the interface shows up, 'same-interface' is in effect")

Patch has been applied to the master branch.

commit eeb866ac6ab3ee7df9148d18f05d909f05d7b77a
Author: Gert Doering
Date:   Wed Nov 26 14:04:03 2025 +0100

     Change '--multihome' behaviour regarding egress interface selection.

     Signed-off-by: Gert Doering <[email protected]>
     Acked-by: Frank Lichtenheld <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1383
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg34709.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to