id summary reporter owner description type status priority milestone component version severity resolution keywords cc 993 iOS: long sleep leaves tunnel Dead on v.1.2.6 nullbandit Antonio Quartulli "The iOS sleep loop which puts app to background leaves the tunnel dead without any connectivity. IMO it's the iOS kernel which is leaving the OpenVPN app tunnel dead once the app has been pushed to background. Tested this on Iphone 8P, Iphone 7, Iphone X all running 11.2.2 on OpenVPN v 1.2.6 1. Connect to VPN (TCP) 2. Push the side button to lock/sleep your iphone 3. Let it stay for 10 mins or plus You will see OpenVPN quickly comes back to indicate visually connected on the UI upper left or upper right corner. But actually the tunnel is dead with no traffic being able to pass through. My assumption here is, the iOS puts the OpenVPN app to background where in the tcp session goes to idle state without any traffic flowing through. When woken up from sleep the awake action tries to reuse the existing tunnel. The possibility here is either the server has closed the tunnel with no routes available to flow for the traffic, or the iOS has flushed all the routes to that flow path. Visually the UI indicates the tunnel is active by showing the icon but the paths are long gone. Note: This will happen when you force close the app by swiping the app up there by putting the app to background. The tunnel is winded down instantaneously in this case well. See the screenshots and logs attached from the client. I don't have access to server logs :-/ " Bug / Defect closed blocker OpenVPN Connect OpenVPN Connect for iOS v1.2.6 Not set (select this one, unless your'e a OpenVPN developer) fixed