OpenVPN for Android?

I am able to use the official OpenVPN Connect client to connect to my OpenVPN server running on Omada, but the OpenVPN Android client fails with cryptic errors using the same profile. Is anyone successfully using this app to connect to their OpenVPN? What changes did you have to make to your profile to make this work?

2 notes

  1. you’ll likely have to modify the ovpn file to have your correct public IP and port. I think these are generated assuming you’re not using any port forwarding and that the WAN is assigned a public IP address.
  2. check your client’s logs. Specifically the options. I currently have an issue where I can not connect to any device when using the VPN because the server sends the options: [block-ipv4] and [block-ipv6]. If this is the case, I wish you the best of luck.

Edit: if you’re having case 2, change openvpn clients. I was originally using OpenVPN Connect and switched to OpenVPN for Android and my issue was solved. I think the connect app was auto blocking for some reason. Once I switched to an app with more control, I was able to connect again.

I use the official OpenVPN client, and the only change I did was change the default port from 1194 so I had to modify the config file it generated to match since I think it’s a bug it doesn’t.

I’m trying to use the Android client because it is supposed to allow you to automatically switch to VPN when you disconnect from your home network. So far I have had no luck getting it to connect.