Connection lost and then restarted

Got a problem with Viscosity or need help? Ask here!

dboardman

Posts: 1
Joined: Thu Dec 10, 2009 8:51 am

Post by dboardman » Thu Dec 10, 2009 9:00 am
I've been successfully using viscosity for a month or 2 now and today ran into a problem where after connecting I able to reach addresses through the VPN and then after some period I can no longer reach them. Viscosity eventually restarts itself after an Inactivity timeout. My configuration file is listed below. Any help would be greatly appreciated.

Thanks,

Dave


--------------
dev tap
client
proto udp
remote 209.98.197.74 1194
resolv-retry infinite
nobind


# Try to preserve some state across restarts.
persist-key
persist-tun
ca ca.crt
cert dboardman.crt
key dboardman.key
comp-lzo
ns-cert-type server
cipher BF-CBC

# Set log file verbosity.
verb 3

#End Config

James

User avatar
Posts: 2318
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Mon Dec 28, 2009 11:32 pm
Hi Dave,

It's likely the connection had dropped out. When using UDP OpenVPN is only really able to detect dropouts using the ping/ping-restart values. Try having a play with the "Ping" and "Ping-restart" fields, which are under the Options tab when editing your connection in Viscosity. For example, try setting a Ping value of 10, and a Ping-restart value of 3600.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1