I have setup OpenVPN.  The server is a router running DD-WRT with OpenVPN setup.  The client is Ubuntu 12.04.  The connection is established without issues.  I can ping clients at the VPN side.  The problem is every 5-10min (seems slightly variant) the following occurs on the Ubuntu Client:Fri Jan 18 17:01:45 2013 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Mar 30 2012Fri Jan 18 17:01:45 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executablesFri Jan 18 17:01:45 2013 WARNING: file 'client1.key' is group or others accessibleFri Jan 18 17:01:45 2013 UDPv4 link local: [undef]Fri Jan 18 17:01:45 2013 UDPv4 link remote: [AF_INET]VPN_IP_ADDY:1194Fri Jan 18 17:01:47 2013 [VPN_HOST_NAME] Peer Connection Initiated with [AF_INET]VPN_IP_ADDY:1194Fri Jan 18 17:01:49 2013 TUN/TAP device tun0 openedFri Jan 18 17:01:49 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0Fri Jan 18 17:01:49 2013 /sbin/ifconfig tun0 192.168.66.6 pointopoint 192.168.66.5 mtu 1500Fri Jan 18 17:01:49 2013 WARNING: potential route subnet conflict between local LAN [192.168.1.0/255.255.255.0] and remote VPN [192.168.1.0/255.255.255.0]Fri Jan 18 17:01:49 2013 Initialization Sequence CompletedFri Jan 18 17:04:10 2013 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)Fri Jan 18 17:04:10 2013 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)Fri Jan 18 17:04:10 2013 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)Fri Jan 18 17:04:10 2013 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)Fri Jan 18 17:04:10 2013 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)Fri Jan 18 17:04:10 2013 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)Fri Jan 18 17:04:12 2013 read UDPv4 [ECONNREFUSED]: Connection refused (code=111)Fri Jan 18 17:07:11 2013 [VPN_HOST_NAME] Inactivity timeout (--ping-restart), restartingFri Jan 18 17:07:11 2013 SIGUSR1[soft,ping-restart] received, process restartingFri Jan 18 17:07:13 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executablesFri Jan 18 17:07:13 2013 Re-using SSL/TLS contextFri Jan 18 17:07:13 2013 UDPv4 link local: [undef]Fri Jan 18 17:07:13 2013 UDPv4 link remote: [AF_INET]VPN_IP_ADDY:1194Fri Jan 18 17:07:14 2013 [VPN_IP_ADDY] Peer Connection Initiated with [AF_INET]VPN_IP_ADDY:1194Fri Jan 18 17:07:17 2013 Preserving previous TUN/TAP instance: tun0Fri Jan 18 17:07:17 2013 Initialization Sequence CompletedIt then auto reconnects and 5-10min later it repeats this cycle forever.It times out even though I'm running a rsync transfer over the VPN.  The timeout and reconnect does not effect the rsync transfer except stalling it for 30s.  Clients do not notice except that file transfers will stop for 30s while it attempts to reconnect.  I'm using in my server config 'keepalive 10 120'.  I also tried 'keepalive 1 180' which made no difference.  I think the connection refused errors are the keepalive ping attempts?
OpenVPN dropping connection every time interval
ubuntu;vpn;openvpn;dd wrt