Ios and qnap ts412 openvpn

Post Reply
supportant80
OpenVpn Newbie
Posts: 1
Joined: Wed Jan 15, 2020 2:15 pm

Ios and qnap ts412 openvpn

Post by supportant80 » Wed Jan 15, 2020 2:31 pm

good morning all! :)
I have a problem that is half resolved by importing an openvpn configuration for the vpn that ends on a qnap ts 212, which generates the ca.cert certificate and the ovpn ocnfiguration file. from pc I managed with several attempts to create a single file, the amount on openvpn and I can connect, despite some errors encountered during the authentication phase, but I can connect, the problem arises when I try to import it on my iphone. credenzili required and remains blocked without tunneling. :? :? can you please help me on the correct configuration of the ovpn file to be imported on iphone?
I need the single ovpn wires as you may well know, otherwise importing the ovpn file on iphone
openvpn crashes saying that the cert file is missing. , requesting the ca.crt file

Thank you very much!

orginal example from qnap:

Code: Select all

client
dev tun2001
script-security 3
proto udp
explicit-exit-notify 1
remote  myaddress  1194
resolv-retry infinite
nobind
ca ca.crt
auth-user-pass
reneg-sec 0
cipher AES-256-CBC
tls-cipher TLS-SRP-SHA-RSA-WITH-3DES-EDE-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-AES-256-CBC-SHA
comp-lzo
<ca>
-----BEGIN CERTIFICATE-----
.........
.........
.........
-----END CERTIFICATE-----
</ca>
Last edited by Pippin on Wed Jan 15, 2020 2:40 pm, edited 1 time in total.
Reason: Formatting

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7828
Joined: Fri Jun 03, 2016 1:17 pm

Re: Ios and qnap ts412 openvpn

Post by TinCanTech » Wed Jan 15, 2020 4:30 pm

supportant80 wrote:
Wed Jan 15, 2020 2:31 pm
ca ca.crt
auth-user-pass
reneg-sec 0
cipher AES-256-CBC
tls-cipher TLS-SRP-SHA-RSA-WITH-3DES-EDE-CBC-SHA:TLS-DHE-RSA-WITH-AES-128-CBC-SHA:TLS-DHE-RSA-WITH-AES-256-CBC-SHA
comp-lzo
<ca>
-----BEGIN CERTIFICATE-----
.........
.........
.........
-----END CERTIFICATE-----
</ca>
;)

Post Reply