Page 1 of 1

Failed to Import Profile option_error

Posted: Mon Jul 11, 2022 12:06 pm
by ItsJokaful
Hello,

i cant find the error.
I download the .ovpn file from our Sophos Firewall.
Then i send it via E-Mail to my Tablet and open it via "OpenVPN" then it shows me the error:

Failed to Import Profile
Failed to parse profile: option: remote option not specified

Code: Select all

client
dev tun
proto udp
explicit-exit-notify
;verify-x509-name "C=DE, ST=NA, L=X, O=X, OU=OU, CN=SophosApplianceCertificate_XXX, emailAddress=X"
;route remote_host 255.255.255.255 net_gateway
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass
cipher AES-128-CBC
auth SHA256
comp-lzo yes
;can_save no
;otp no
;run_logon_script no
;auto_connect 
route-delay 4
verb 3
reneg-sec 86400
remote X.X.X.X 8443
remote X.X.X.X 8443
<ca>
-----BEGIN CERTIFICATE-----
XXX
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
XXX
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
XXX
-----END RSA PRIVATE KEY-----
</key>

Re: Failed to Import Profile option_error

Posted: Tue Sep 27, 2022 5:18 am
by Jameswalter
Try just changing "tap" to "tun" or vice versa and update the port number in the "remote" line to the TUN port shown in your Netgear config.

The other errors about missing files are curious because you are showing those files exist in the same folder.