Hi all,
Got a strange behavior on one of my server trying to connect to a remote OpenVPN server : as openvpn client starts, no tun0 interface seems to be created, i run an ifconfig and only eth0 and lo interfaces are shown.
In the openvpn logs, i can see that i get a timeout trying to connect :
Wed Jun 12 16:03:58 2013 us=914013 OpenVPN 2.1_rc11 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on Sep 18 2008
Wed Jun 12 16:03:58 2013 us=914344 WARNING: file 'mykey.key' is group or others accessible
Wed Jun 12 16:03:58 2013 us=914660 /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted>
Wed Jun 12 16:03:58 2013 us=988956 LZO compression initialized
Wed Jun 12 16:03:58 2013 us=989053 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Wed Jun 12 16:03:58 2013 us=989106 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Wed Jun 12 16:03:58 2013 us=989133 Local Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Wed Jun 12 16:03:58 2013 us=989142 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Wed Jun 12 16:03:58 2013 us=989165 Local Options hash (VER=V4): '69109d17'
Wed Jun 12 16:03:58 2013 us=989179 Expected Remote Options hash (VER=V4): 'c0103fa8'
Wed Jun 12 16:03:58 2013 us=992903 Attempting to establish TCP connection with XXX.XXX.XXX.XXX:1194 [nonblock]
Wed Jun 12 16:04:08 2013 us=993153 TCP: connect to XXX.XXX.XXX.XXX:1194 failed, will try again in 5 seconds: Connection timed out
Wed Jun 12 16:04:23 2013 us=993420 TCP: connect to XXX.XXX.XXX.XXX:1194 failed, will try again in 5 seconds: Connection timed out
I activated tun module by typing "modprobe tun" and the following command "lsmod | grep tun" returns correct.
Also, /dev/net/tun is present.
I don't manage the OpenVPN server, I only have to setup a client to connect to the server.
Environnement :
Debian Lenny
OpenVPN package 2.1_rc11
However, the same client configuration with the same keys does work on another machine under the same version of Debian and OpenVPN.
Has anyone ever experienced such an issue ? Seems that my server doesn't create any tun interface which causes the timeout as traffic can't be forwarded to eth0 ...
Thanks for your replies