[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

[Openvpn-users] OpenVPN connection restarts a few seconds after first use

  • Subject: [Openvpn-users] OpenVPN connection restarts a few seconds after first use
  • From: Fernando Mendonça <fernando_cicunb@xxxxxxxxxxxx>
  • Date: Wed, 2 May 2007 19:22:13 -0300 (ART)

Hello. First, forgive me for any english errors made in my post, since I'm not from EUA or other english-speaking country. What is happening is that everytime I connect to my OpenVPN server, it stays ok for a few seconds, and then when I test the connection with a ping for example the VPN connection restarts all over again.

This is the restart part of the OpenVPN log on the client side:

Wed May 2 19:10:15 2007 Initialization Sequence Completed Wed May 2 19:10:27 2007 Connection reset, restarting [0]

Wed May 2 19:10:27 2007 TCP/UDP: Closing socket

Wed May 2 19:10:27 2007 SIGUSR1[soft,connection-reset] received, process restarting

Wed May 2 19:10:27 2007 Restart pause, 5 second(s)

This is the ping output. Note that it works fine until the restart operation.

fernando@fernando-laptop:~$ ping -M do -s 1472
PING ( 1472(1500) bytes of data.
1480 bytes from icmp_seq=1 ttl=64 time=888 ms
1480 bytes from icmp_seq=2 ttl=64 time=360 ms
1480 bytes from icmp_seq=3 ttl=64 time=136 ms
1480 bytes from icmp_seq=4 ttl=64 time=182 ms
1480 bytes from icmp_seq=5 ttl=64 time=148 ms

--- ping statistics ---
8 packets transmitted, 5 received, 37% packet loss, time 7001ms
rtt min/avg/max/mdev = 136.443/343.460/888.755/284.363 ms

This is my configuration on the client side. For the moment I can attach the configuration for the server since I'm unable to access it, but later I can do that.

dev tun
proto tcp
remote theburrow.homeip.net 1863
resolv-retry infinite
ca ca.crt
cert fernando-laptop.crt
key fernando-laptop.key
verb 3

Thanks in advance, I hope someone here can help =)

Fale com seus amigos de graça com o novo Yahoo! Messenger