Windows 7 (and Vista) - tunnel fails after resume from Sleep/Standby
|Reported by:||billb3||Owned by:||samuli|
|Component:||Generic / unclassified||Version:||2.3-beta / 2.3-RC|
|Severity:||Not set (if unsure, select this one)||Keywords:||windows 7 win7 vista wake resume sleep standby hibernate|
I have run into an issue when using OpenVPN (last tested with 2.1.4 & 2.2b5) on Windows 7. I install OpenVPN without errors and configure the service to run automatically. The tunnel starts and works normally when started manually or when the computer is started. The issue occurs if I put the laptop into sleep/standby mode. When I "wake" the computer, the tunnel is down. No traffic is passed, there is nothing in the openvpn log file. Once I restart the service, the tunnel works normally again. On Windows XP (as expected), the tunnel is reestablished when the computer wakes.
I have attached a few files:
"win7-openvpn.log" includes the results of the following operation. I am running Windows 7 Ultimate with the latest updates.
- I manually started the OpenVPN service at 11:44:00.
- I tested the tunnel and it was passing traffic normally.
- I put the machine in sleep mode at approx 11:44:20
- I "woke" the machine right at 11:45.
- The tunnel was not able to pass any traffic. I let it run for approx 10 minutes (log only goes for 3 min, but contents of log were the same from minute 3-10)
In addition, I have included the results of "route print" before and after "sleep". ("routes before sleep.txt" & "routes after wake.txt")
Please let me know what I can do to help test/fix this bug!
This was originally reported on the mailing list here: http://sourceforge.net/mailarchive/forum.php?thread_name=17110127472.20100916143418%40gmxpro.de&forum_name=openvpn-users
I was directed to another bug, but that appears to be slightly different: https://community.openvpn.net/openvpn/ticket/56
Change History (55)
comment:16 Changed 3 years ago by KarlBauman
comment:34 follow-up: ↓ 36 Changed 15 months ago by Coren42
Changed 15 months ago by Coren42
Changed 14 months ago by simon.deziel
comment:39 in reply to: ↑ 37 Changed 14 months ago by simon.deziel
comment:49 Changed 9 months ago by samuli
- Resolution set to fixed
- Status changed from assigned to closed