Android - Failed to import profile

Post Reply
afreeth
OpenVpn Newbie
Posts: 1
Joined: Wed Mar 25, 2020 1:27 pm

Android - Failed to import profile

Post by afreeth » Wed Mar 25, 2020 1:35 pm

hi folks,

i'm just getting started with OpenVPN - I followed the easy start guide for windows to get the server going, and adjusted my client ovpn file to have the unified format for single file with the ca, cert, keys and tls-auth tags. The problem is when I try to load that ovpn file into OpenVPN Connect on Android, it gives the error below.

Failed to import profile
Failed to parse profile: option_error: remote option not selected

I've tried having the "remote" line including the port number and having port specified seperately. Any suggestions?

The beginning of my .ovpn file looks like this
Client config

client
dev tun
remote {redacted the external IP address of my home machine}
port 1194
resolv-retry infinite
nobind
persist-key
persist-tun
verb 1
keepalive 10 120
proto udp
cipher AES-256-CBC
remote-cert-tls server
Last edited by Pippin on Wed Mar 25, 2020 2:16 pm, edited 1 time in total.

Post Reply