First, sorry if my english is not correct... I'm french.
I create this topic to try to find a solution to connect my QNAP to VPN using .ovpn file.
So, this is my configuration and what I would like to do :
Configuration :
- QNAP TS-251
- QTS 4.2.2 V. 2016/09/01
- I Use a Box - it's like a little router (French provider : Bouygues Telecom - BBOX Evolution - Fibre)
- VPN Provider : http://www.vpnfacile.net (it's a french provider, i'm not happy about my choice....)
This provider propose to configure VPN using this methode (it works on my Mac and on my Raspberry) :
- - config.ovpn file
- - certificat ca.crt
- - key ta.key
- - list of adress
- - Use TCP on the port 443
Seriously ?... To download torrent (non copyright torrent of course ! ), and due to the french law I have to hide my IP (On my Raspberry I used an IP from Netherland)
What I did and what happened ?
I'm sorry : everytime i tried, it failed, so I deleted files and logs... So I can't be more explicite...
First i opened the port TCP 443 on my box (but i'm not sure of me...) I followed all this tuto :
- https://vpnfacile.net/comment-installer ... ology.html (this is for Synology, it was just to inspire myself...)
Code: Select all
Fri Sep 9 23:52:07 2016 OpenVPN 2.3.6 i686-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Sep 1 2016
Fri Sep 9 23:52:07 2016 library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.05
Fri Sep 9 23:52:07 2016 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Fri Sep 9 23:52:07 2016 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Fri Sep 9 23:52:07 2016 Control Channel Authentication: tls-auth using INLINE static key file
Fri Sep 9 23:52:07 2016 Attempting to establish TCP connection with [AF_INET]164.132.74.1:443 [nonblock]
Fri Sep 9 23:52:08 2016 TCP connection established with [AF_INET]164.132.74.1:443
Fri Sep 9 23:52:08 2016 TCPv4_CLIENT link local: [undef]
Fri Sep 9 23:52:08 2016 TCPv4_CLIENT link remote: [AF_INET]164.132.74.1:443
Fri Sep 9 23:52:08 2016 Connection reset, restarting [0]
Fri Sep 9 23:52:08 2016 SIGTERM[soft,connection-reset] received, process exiting
Code: Select all
client
dev tun
proto udp
remote xxx.vpnxxxxxxx.nxx 443
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
tls-auth /share/Download/vpn/ta.key
ca /share/Download/vpn/ca.crt
reneg-sec 0
auth-user-pass /share/Download/vpn/pass.txt
log-append /share/Download/vpn/openvpn.log
remote-cert-tls server
#mute 10000
comp-lzo
verb 3
pull
fast-io
cipher AES-256-CBC
Seriously ? I'm a newbie ! I don't understand anything, I don't understand the words in the log files... And seriously I'M GETTING CRAZY !!!!
I know I made a mistake, but where ? How can I fix it ?
Did you know another tutorial ?
I'm OK to change my VPN provider (but only if it works...).
Thank you for your help !
See you soon.
Greg