Answer the question
In order to leave comments, you need to log in
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)
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
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question