Open VPN - need some help install/configuring.

Lisa Kachold l_iesa at yahoo.com
Wed Jun 18 12:45:48 MST 2008


Bryon,

Verify this subnet mask?  It looks like it's a class B address with a C mask.

 Wed Jun 18 08:42:41 2008 /sbin/route add -net 10.8.0.0 netmask
255.255.255.0 gw 10.8.0.2

That would certainly cause Error 4.

Bryan O'Neal <BONeal at cornerstonehome.com> wrote: So I installed Open VPN on my server (Cent OS) and I installed openvpn
on my desktop (WinXP) and I am trying to connect them. I generated all
of my key files and certs on my server and copied the client key, cert,
and server ca.crt to my client,  I believe I have everything configured
correctly, but it does not connect.  Also on the windows side it
indicates my tun adaptor is not connected.  Perhaps one of you can tell
me where I went wrong.

And yes, I did try shut down my windows firewall and my server iptables

 Flushing firewall rules:                                   [  OK
]
 Setting chains to policy ACCEPT: filter                    [  OK
]
 Unloading iptables modules:                                [  OK
]

Here is what I see from my client (windows) 
 Wed Jun 18 08:57:15 2008 OpenVPN 2.0.9 Win32-MinGW [SSL] [LZO]
built on Oct  1 2006
 Wed Jun 18 08:57:15 2008 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.
 Wed Jun 18 08:57:15 2008 WARNING: No server certificate
verification method has been enabled.  See
http://openvpn.net/howto.html#mitm for more info.
 Wed Jun 18 08:57:15 2008 LZO compression initialized
 Wed Jun 18 08:57:15 2008 Control Channel MTU parms [ L:1542
D:138 EF:38 EB:0 ET:0 EL:0 ]
 Wed Jun 18 08:57:15 2008 Data Channel MTU parms [ L:1542 D:1450
EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
 Wed Jun 18 08:57:15 2008 Local Options hash (VER=V4): '41690919'
 Wed Jun 18 08:57:15 2008 Expected Remote Options hash (VER=V4):
'530fdded'
 Wed Jun 18 08:57:15 2008 UDPv4 link local: [undef]
 Wed Jun 18 08:57:15 2008 UDPv4 link remote: 208.109.28.232:1194
 Wed Jun 18 08:57:15 2008 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054) 
...
 Wed Jun 18 08:58:13 2008 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
 Wed Jun 18 08:58:14 2008 TLS Error: TLS key negotiation failed
to occur within 60 seconds (check your network connectivity)
 Wed Jun 18 08:58:14 2008 TLS Error: TLS handshake failed
 Wed Jun 18 08:58:14 2008 TCP/UDP: Closing socket
 Wed Jun 18 08:58:14 2008 SIGUSR1[soft,tls-error] received,
process restarting
 Wed Jun 18 08:58:14 2008 Restart pause, 2 second(s)
 Wed Jun 18 08:58:16 2008 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.
 Wed Jun 18 08:58:16 2008 WARNING: No server certificate
verification method has been enabled.  See
http://openvpn.net/howto.html#mitm for more info.
 Wed Jun 18 08:58:16 2008 Re-using SSL/TLS context
 Wed Jun 18 08:58:16 2008 LZO compression initialized
 Wed Jun 18 08:58:16 2008 Control Channel MTU parms [ L:1542
D:138 EF:38 EB:0 ET:0 EL:0 ]
 Wed Jun 18 08:58:16 2008 Data Channel MTU parms [ L:1542 D:1450
EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
 Wed Jun 18 08:58:16 2008 Local Options hash (VER=V4): '41690919'
 Wed Jun 18 08:58:16 2008 Expected Remote Options hash (VER=V4):
'530fdded'
 Wed Jun 18 08:58:16 2008 UDPv4 link local: [undef]
 Wed Jun 18 08:58:16 2008 UDPv4 link remote: 208.109.28.232:1194
 Wed Jun 18 08:58:16 2008 read UDPv4: Connection reset by peer
(WSAECONNRESET) (code=10054)
...



More information about the PLUG-discuss mailing list