iPhone(iOS) OpenVPN disconnections
If you are tired by constant OpenVPN disconnections on iPhone (iOS), despite enabling all the options to stay connected, then use this advice.
Problem: When using OpenVPN on iPhone it is often when your phone roams on different networks or stay in stand-by mode for longer time - to disconnect from VPN. You have to manually reconnect. This is annoying. Lately I come up with solution to this problem - quite simple one. All you have to do is to setup your Mail.app account to connect to your mail server via VPN tunnel. That’s it.
It is not enough to sent all traffic via VPN, you have to explicitly change settings in IMAP (i checked that only for IMAP) for incoming mail server. You have to ensure that it will be only reachable via tunnel. (you can use for example IPv6 for this)












