Page 1 of 1

10054 Error

Posted: Wed Jul 18, 2012 12:47 am
by Morbeas
Ok, I'm new to OpenVPN so please bear with me.

I just activated the OpenVPN package on my Synology DS1511+ NAS. Configured the server, exported the certificate and the openvpn.ovpn files in the C:\Program Files (x86)\OpenVPN\config folder on my Win 7, x64 machine.

I forwarded UDP port 1194 to my NAS on my Linksys E4200 router.

Here's the config file:

dev tun
tls-client

remote externalipofmynas 1194

# The "float" tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the --remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)

#float

# If redirect-gateway is enabled, the client will redirect it's
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)

#redirect-gateway

# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.

#dhcp-option DNS DNS_IP_ADDRESS

pull

proto udp
script-security 2

ca ca.crt


reneg-sec 0

auth-user-pass

-------------------------------------

When I go to connect, this is what I get:

Tue Jul 17 20:44:40 2012 OpenVPN 2.2.2 Win32-MSVC++ [SSL] [LZO2] [PKCS11] built on Dec 15 2011
Tue Jul 17 20:44:51 2012 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Tue Jul 17 20:44:51 2012 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Jul 17 20:44:51 2012 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue Jul 17 20:44:51 2012 UDPv4 link local (bound): [undef]:1194
Tue Jul 17 20:44:51 2012 UDPv4 link remote: externalipofmynas:1194
Tue Jul 17 20:44:51 2012 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Jul 17 20:44:53 2012 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Jul 17 20:44:57 2012 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)
Tue Jul 17 20:45:05 2012 read UDPv4: Connection reset by peer (WSAECONNRESET) (code=10054)


Any ideas?

PS. I made sure the user I'm trying to connect with has the appropriate privileges on the server.

Re: 10054 Error

Posted: Wed Jul 18, 2012 7:12 am
by maikcat
usually connection reset messages means that upd packets
doesnt made it to your openvpn server...

check that port forward is correct and firewall rules (if any) on your linksys
allow traffic to reach openvpn server.

is your NAS have any type of firewall?

for testing try tcp also..

Michael.

Re: 10054 Error

Posted: Wed Jul 18, 2012 10:37 am
by Morbeas
It looks like the issue is with Synology's implementation of OpenVPN in their new beta OS. :(

Thanks very much for the reply.