]> git.ipfire.org Git - ipfire-2.x.git/commit
ovpnmain.cgi: Explicitely pass the gateway for static routes
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Aug 2025 20:54:17 +0000 (21:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Aug 2025 20:57:32 +0000 (21:57 +0100)
commitd4eb2e77a9647c6b85a73f3d5695d72c1665f03a
treea11490788257ce98cb5a9453d4b3f90b4b14c739
parent351113e21eecd730b33a2d73c1bb74eff9fcb845
ovpnmain.cgi: Explicitely pass the gateway for static routes

OpenVPN seems to fail to use the correct gateway if the client does not
use the default pool. In that case, we need to explicitely push the
correct gateway.

Fixes: #13872 - Warning: route gateway is not reachable on any active network adapters
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi