Openvpn tunnel Hangs up after little hour

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
doulapa
OpenVpn Newbie
Posts: 2
Joined: Mon May 27, 2013 8:34 am

Openvpn tunnel Hangs up after little hour

Post by doulapa » Mon May 27, 2013 8:40 am

Hi ,

I have a problem with openvpn using it in Enigma2 boxes . I set up the box and the vpn is starting and connecting in the Openvpn server. But after some time the connection is lost and the openvpn service in box is unusable as i cant stop or restart it (like the tun kernel hangs) . The only solution is the restart. I use a lot of different version of openvpn and kernel . The problem is the same in diff boxes . Below is the config of the box.

client
dev tun0
proto tcp
remote ***************
port 55555
resolv-retry infinite
nobind
ca /var/etc/openvpn/keys/ca.crt
cert /var/etc/openvpn/keys/new.crt
key /var/etc/openvpn/keys/new.key
ns-cert-type server
persist-key
persist-tun
mute-replay-warnings
ping 55
ping-restart 60
pull
float


Thanks

D.

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

Re: Openvpn tunnel Hangs up after little hour

Post by janjust » Mon May 27, 2013 3:18 pm

what is enigma2 box? if it has a faulty tun driver then you're out of luck.
Add

Code: Select all

  verb 7
to the config, reboot and watch for the tunnel to hang - does the openvpn log show anything?

doulapa
OpenVpn Newbie
Posts: 2
Joined: Mon May 27, 2013 8:34 am

Re: Openvpn tunnel Hangs up after little hour

Post by doulapa » Tue May 28, 2013 7:34 am

Enigma2 Box is a dream multimedia compilation of linux for stb boxes . Affects all the boxes use that software . i will put the verb in config and have a look at log. Tun cannot be the problem as it happens in different boxes and different versions of openvpn (from 2.09 to 2.21 ) .

Thanks for now

D.

Post Reply