Profile import failed Android, Windows

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
bambe
OpenVpn Newbie
Posts: 6
Joined: Mon Aug 31, 2020 9:15 am

Profile import failed Android, Windows

Post by bambe » Sat Sep 12, 2020 6:59 pm

hi all need help i am new to this forum and to openvpn after set up openvpn server and client i have these following message when i wanted to import client file on pc windows as on android

Code: Select all

Profile import failed
Profile scan failed: remote option option_error not specified
here is my config server

Code: Select all

port xxxx
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist /var/log/openvpn/ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 208.67.222.222"
push "dhcp-option DNS 208.67.220.220"
keepalive 10 120
tls-auth ta.key 0
cipher AES-256-CBC
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
verb 3
explicit-exit-notify 1
my client config

Code: Select all

client
dev tun
proto udp
remote my-server 1194
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
<ca>
# Here goes the content of the ca.crt file
</ca>

<cert>
# Here goes the content of the client.crt file
</cert>

<key>
# Here goes the content of the client.key file
</key>

key-direction 1
<tls-auth>
# Here goes the content of the ta.key file
</tls-auth>
remote-cert-tls server
tls-auth ta.key 1
cipher AES-256-CBC
verb 3
thank you in advance
Last edited by Pippin on Sat Sep 12, 2020 7:42 pm, edited 1 time in total.

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Profile import failed Android, Windows

Post by TinCanTech » Sat Sep 12, 2020 7:14 pm

bambe wrote:
Sat Sep 12, 2020 6:59 pm
Profile scan failed: remote option option_error not specified
I presume you are trying to import the server config into the Windblows OpenVPN-GUI ?

Edit: This must be Connect-client because the OpenVPN-GUI allows server configs to be imported.

bambe
OpenVpn Newbie
Posts: 6
Joined: Mon Aug 31, 2020 9:15 am

Re: Profile import failed Android, Windows

Post by bambe » Sat Sep 12, 2020 7:27 pm

then there is a solution ?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Profile import failed Android, Windows

Post by TinCanTech » Sat Sep 12, 2020 7:48 pm

The only solution I can offer you is based on what you have posted:
OpenVPN Connect-Client does not support server configs because it is a client only.

300000
OpenVPN Expert
Posts: 685
Joined: Tue May 01, 2012 9:30 pm

Re: Profile import failed Android, Windows

Post by 300000 » Thu Oct 01, 2020 1:15 pm

then there is a solution ?

Hide someone know how to import client onto android phone instead server profile on android and expect that server profile will connect as client profile.

Post Reply