OpenVPN connecting inconsistently

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
imirkin
OpenVpn Newbie
Posts: 1
Joined: Fri Apr 26, 2013 4:49 pm

OpenVPN connecting inconsistently

Post by imirkin » Fri Apr 26, 2013 4:57 pm

any help would be GREATLY appreciated !!!!

I have OpenVPN installed on several machines and the connection to the server is completely unreliable. It connects fine, then I close and relaunch OpenVPN and the connection fails. I reboot machine, connection fails. Try again randomly and it connects. Seems completely random.

When it does fail, the message I see is the following:

us=430000 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
us=430000 OpenVPN ROUTE: failed to parse/resolve route for host/network: 192.168.9.1
us=446000 TAP-WIN32 device [OpenVPN_Tap] opened: \\.\Global\{DA78E7D4-2112-425B-BAC6-16E873F31EE8}.tap
us=446000 TAP-Win32 Driver Version 9.9
us=446000 TAP-Win32 MTU=1500
us=446000 ERROR: --dev tun also requires --ifconfig
us=446000 Exiting



Client conf

client
dev tun
dev-node OpenVPN_Tap
proto udp
remote 98.129.169.39 8443
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert tsvm13002-client.crt
key tsvm13002-client.key
ns-cert-type server
comp-lzo
# Set log file verbosity.
verb 5
explicit-exit-notify 1


Server conf

port 8443
proto udp
dev tun
ca ca.crt
cert tsvm13002.crt
key tsvm13002.key # This file should be kept secret
dh dh1024.pem
server 192.168.9.0 255.255.255.240
duplicate-cn
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 5

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: OpenVPN connecting inconsistently

Post by janjust » Sat Apr 27, 2013 10:11 pm

post some more info from the client log - esp the part about the PUSH info received from the server.

Post Reply