H
H
hrystenko2016-01-08 21:48:12
openvpn
hrystenko, 2016-01-08 21:48:12

How to fix Connection reset by peer (WSECONNREST) ​​(code=10054) error in OpenVPN?

I created my own VPN server - it starts without problems. And the client does not want to connect to the server - it gives an error Connection reset by peer (WSECONNREST) ​​(code=10054)
01ed2bfd038741c1a6f1fe279126e61f.png
Server configuration file:


port 1194
proto udp
dev tap
ca ca.crt
cert OpenVPN.crt
key OpenVPN.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 4
mute 5

Client configuration file:

client
dev tap
proto udp
remote 10.8.0.1 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
remote-cert-tls server
comp-lzo
verb 4
mute 5

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2016-01-13
@t3mp

Check firewall settings/Disable for a while, is UDP/1194 traffic allowed?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question