Opened 12 years ago

Closed 11 years ago

#36 closed Bug / Defect (worksforme)

Openvpn v2.1.1 does not recover from interface reset

Reported by: Samuli Seppänen Owned by:
Priority: major Milestone:
Component: Networking Version: OpenVPN 2.1.0 / 2.1.1 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:


I am not sure what happens with different configurations, but mine is the following:

Openvpn v2.1.1 on arch linux. kernel 2.6.33
I connect to an openvpn server through an http proxy over tcp with --redirect-gateway

If the network interface that openvpn is using to connect to the proxy is reset for some reason(it is a wireless interface so that can happen if the laptop loses signal) the routing table is partially flushed. The routes that go through the vpn are still up(including the default route). However, any route that uses the underlying interface is gone(including the route to the proxy server). From there on out, openvpn simply tries to connect and times out every time and never recovers.

If you need any additional information about my setup let me know. The bug is pretty easy to reproduce though. Just connect to an openvpn server and have --redirect-gateway on, then bring down the underlying network interface and bring it back up.

Change History (2)

comment:1 Changed 12 years ago by Samuli Seppänen

This was originally posted to bug tracker by Raja Baz (

comment:2 Changed 11 years ago by Eric Crist

Resolution: worksforme
Status: newclosed

Please re-report this bug if it still persists in OpenVPN 2.2.2 or newer.

Note: See TracTickets for help on using tickets.