Verified the problematic behaviour (connected from a FreeBSD 11 system
without an IPv4 default route to a v6-transport VPN server, and it refused
"redirect-gateway", with or without "def1") - and with the patch, it does
the expected thing.

Also, stared at the code :-)

Your patch has been applied to the master and release/2.4 branch.

commit 14670a9d654be48f92b58ac47e6f74d3dcfe1733 (master)
commit 5340f56b62c9fe7ad892e815029321f378660714 (release/2.4)
Author: Antonio Quartulli
Date:   Fri Jan 20 00:25:18 2017 +0800

     fix redirect-gateway behaviour when an IPv4 default route does not exist

     Signed-off-by: Antonio Quartulli <>
     Acked-by: Gert Doering <>
     Message-Id: <>
     Signed-off-by: Gert Doering <>

kind regards,

Gert Doering

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Openvpn-devel mailing list

Reply via email to