Page 1 of 1

Profile import failed Android, Windows

Posted: Sat Sep 12, 2020 6:59 pm
by bambe
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

Re: Profile import failed Android, Windows

Posted: Sat Sep 12, 2020 7:14 pm
by TinCanTech
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.

Re: Profile import failed Android, Windows

Posted: Sat Sep 12, 2020 7:27 pm
by bambe
then there is a solution ?

Re: Profile import failed Android, Windows

Posted: Sat Sep 12, 2020 7:48 pm
by TinCanTech
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.

Re: Profile import failed Android, Windows

Posted: Thu Oct 01, 2020 1:15 pm
by 300000
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.