|
|
Some new info on an old thread... David Balazic wrote: > see the restart options (in the manual) > > David > > ________________________________ > > From: openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx on behalf of Les Mikesell > Sent: Fri 16-Nov-07 18:51 > To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx > Subject: [Openvpn-users] automatic reconnect? > > > > I'm using tunnelblick on a mac to connect to a Linux server with a > simple static key and everything works fine except that the connection > breaks at random intervals (perhaps my ISP's fault...). Reconnecting > via the tunnelblick icon always works immediately and if done soon > enough, doesn't affect open tcp connections through the tunnel. What do > I need in the config to make it automatically reconnect instead of > having to do it manually? I'm still not sure what was going on, but it had something to do with installing the twonky media server _and_ the tunnelblick GUI - and perhaps having parallels and/or vmware installed with their host interface support. Running openvpn from the command line with the same options as suppled by tunnelblick seemed to work for long intervals without the disconnects, but when running under the GUI it would periodically stop with an entries like this in /var/log/asl.log: [Time 2007.12.13 13:29:38 UTC] [Facility daemon] [Sender mDNSResponder] [PID -1] [Message getifaddrs ifa_netmask for vmnet1(9) Flags 8863 Family 2 172.16.201.1 has different family: 0] [Level 3] [UID -2] [GID -2] [Host Jill-Mikesells-Computer] followed by: [Time 2007.12.13 14:22:47 UTC] [Facility daemon] [Sender openvpn] [PID 1196] [Message SIGTERM[hard,\] received, process exiting] [Level 5] [UID -2] [GID -2] [Host Jill-Mikesells-Computer] The demo interval on the twonky media server expired and I removed it from the system startup - and now after a reboot I am no longer seeing the disconnects or those mDNSResponder events in the logs. On a perhaps related note, twonky itself had problems with the media player (a PS3) connection unless configured specifically to use the ethernet IP address as its source and their support forum mentioned the extra interfaces that parallels/vmware create as the reason. ______________________ OpenVPN mailing lists https://lists.sourceforge.net/lists/listinfo/openvpn-users Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2008-01/msg00056.html on line 223 Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2008-01/msg00056.html on line 223 |