]> git.ipfire.org Git - ipfire-2.x.git/commit
ovpnmain.cgi: Enable multihome when using UDP
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Oct 2025 17:24:29 +0000 (18:24 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Oct 2025 17:24:29 +0000 (18:24 +0100)
commitccab45fbe077ec2b5b8ccc8bbecd6844f9d93247
treef699917b16b4acb8c511098c239bd3f5a8166fd8
parenta85b9d6f8c0c80725e5a12e54081f3313512eb51
ovpnmain.cgi: Enable multihome when using UDP

If the client is connecting from an internal network instead of the
internet, the OpenVPN server replies with the public IP address as the
source address. This won't allow to establish a connection.

Enabling multihome changes the behaviour to reply with whatever IP
address the client has connected to.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi