QNAP 4.3 QVPN Service on Android

Written by James McDonald

May 14, 2020

I’m using the OpenVPN Connect client on Android and using the QNAP created VPN file with a few small changes:

# added so the OpenVPN Connect client doesn't
# complain about missing client cert

# I uncheck the Use remote network as default gateway 
# option so need to manually add route/s

# instead of having a separate ca.crt
# embed it inline in the openvpn.ovpn file
... the contents of ca.crt here

On Windows 10 the above works fine. But I just couldn’t get Android to connect. The only error was “Session invalidated: KEEPALIVE_TIMEOUT”

18:59:52.389 -- Tunnel Options:V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client

18:59:52.391 -- Creds: Username/Password

18:59:52.400 -- Peer Info:

19:00:32.383 -- Session invalidated: KEEPALIVE_TIMEOUT

The fix was to open the OpenVPN Connect Android client and check an option in Settings

In hind sight the log output gave a hint as to the problem when it mentions “cipher AES-128-CBC” so enabling AES-CBC Cipher Algorithm fixed the problem and I could connect with Androids OpenVPN Connect client


Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...

PC Build

I recently built myself a PC using the SilverStone SG13 Case. I am planning to use it as a Hot Spare. So any client...