Hi, I have installed OpenVPN with administrator privileges on my Windows 10 64bit computer. I configured a server, it generates the crt, dh and key files. However, the server computer does not connect to the server and the following message always appears:
I already did the following:
-In windows services, I already ran the OpenVPN service.
- I already reinstalled and rebooted my PC repeatedly.
The content of the server.ovpn file is:
port 1194
proto tcp
dev tap
dev-node TAP-01
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
cipher AES-256-CBC
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
mute 20
explicit-exit-notify 1
#ca ca.crt
<ca>
*****CA file code*****
</ca>
#cert servidor-vpn.crt
<cert>
*****Cert file code*****
</cert>
#key servidor-vpn.key
<key>
*****KEY file code*****
</key>
#dh dh4096.pem
<dh>
*****DH file code*****
</dh>
I will greatly appreciate your help.
regards
[Solved] Connecting to server has failed
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat Mar 17, 2018 11:14 pm
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Connecting to server has failed
Try looking in the log file in the log directory ..
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat Mar 17, 2018 11:14 pm
Re: Connecting to server has failed
Hi, thanks for the quick response, in the log I could see the problem, it really was something very obvious and easy to solve (I said that explicit-exit-notify 1 only worked with UDP, and I was using TCP). Too bad, I had not reviewed the log before, thank you very much.
regards
regards