Disable persist-tun for openvpn

This should solve the issue where RHEL7 machines that get a network
hiccup need an OpenVPN restart to restore their routes.

The code is broken in the current upstream OpenVPN release, such that
it does tear down some of the routes during a ping-restart (when the
connection is dropped due to network hiccups), but the reconnection
code does not restore the routes.
I am working on an upstream patch to fix this, but in the meantime
disabling persist-tun will make sure that OpenVPN does the entire
initialization upon reconnection, which makes sure that all routes
are created.

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2015-10-21 18:26:32 +00:00
parent e1edce6717
commit b1db3bafd8
3 changed files with 0 additions and 3 deletions

View file

@ -13,7 +13,6 @@ resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt

View file

@ -13,7 +13,6 @@ resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt

View file

@ -6,7 +6,6 @@ comp-lzo
ping-timer-rem
persist-tun
persist-key
ca ca.crt