Environment:
I have a working server & client config with OpenVPN 2.4 series with
push "redirect-gateway ipv6 def1 bypass-dhcp"
(full logs are irrilevant)
Current behiavour if the client is <=2.3.x series:
Options error: unknown --redirect-gateway flag: ipv6
and the redirect-gateway is ignored completely.
Expected behiavour:
Client must simply ignore the flag and threat as
redirect-gateway def1 bypass-dhcp
I'm thinking about patching OpenVPN server-side with something like
remove ipv6 flag in redirect-gateway push if client version <2.3.8
I'm missing a better solution? Thanks for any feedback.