diff options
author | Guy Yur <guyyur@gmail.com> | 2015-06-01 21:51:13 +0200 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2015-06-01 21:56:27 +0200 |
commit | 5502af840205a8a9342600385fcd4ef2919073ba (patch) | |
tree | 6407d44f07addbec35f1a556847793955f9bee7f /msvc-build.bat | |
parent | 874ffde11255beb6873024b24c4231934460f485 (diff) | |
download | openvpn-5502af840205a8a9342600385fcd4ef2919073ba.tar.gz openvpn-5502af840205a8a9342600385fcd4ef2919073ba.tar.xz openvpn-5502af840205a8a9342600385fcd4ef2919073ba.zip |
Fix --redirect-private in --dev tap mode.
When specifying redirect-private option and not specifying route-gateway
or ifconfig options, OpenVPN fails to add the route to the remote host
with the following message:
NOTE: unable to redirect default gateway -- VPN gateway parameter
(--route-gateway or --ifconfig) is missing
In redirect_default_route_to_vpn() the check for remote endpoint happens
even though it is not used by redirect-private - make check conditional
on RG_REROUTE_GW (= --redirect-gateway).
Trac #261
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20150531120327.GE382@greenie.muc.de>
URL: http://article.gmane.org/gmane.network.openvpn.devel/9761
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 1e2b229e5140b784820906feb8446e47c1ecc62e)
Diffstat (limited to 'msvc-build.bat')
0 files changed, 0 insertions, 0 deletions