Even though I was always active whether browsing, downloading a file, or watching a video, it would always show a disconnect with inactivity timeout. I found the cause of this problem: in the firewall settings there is a toggle for allowing or disallowing 'ping from WAN' which means allowing or disallowing a ping from outside the router / internet.
--ping-exit n Causes OpenVPN to exit after n seconds pass without reception of a ping or other packet from remote. This option can be combined with --inactive, --ping, and --ping-exit to create a two-tiered inactivity disconnect. For example, openvpn [options] --inactive 3600 --ping 10 --ping-exit 60 Just for your information, I have now found a way to test this without waiting 8 hours. I send the SIGUSR1 signal (which is the signal generated after the Inactivity Timeout) to the OpenVPN client with the command: "killall -s SIGUSR1 openvpn". This triggers the same error: In the above picture, session timeout is specified as 604800 seconds equivalent to 7 days. To change the timeout period there is another script provided by OpenVPN AS, i.e. “sacli“. ii) To set your own customized session timeout let’s say 30 days (2592000 seconds), use “sacli” script as follows: 3 votes and 8 comments so far on Reddit Feb 24, 2016 · In addition, there is a policy setting in the server to disconnect the clients after a time of inactivity, please go to your server to see if you configuration this setting. The following link introduces how to check, please refer to it. Jul 14, 2020 · Bob Ortiz asked:. The setup is quite simple. For my home server I use: A server with Pfsense 2.3.4-RELEASE (latest) as OS / firewall; An OpenVPN setup (the integrated Pfsense version) as TCP tun (additionally in an useless attempt to solve the issue I added reneg-sec 0;keepalive 10 120 to the Custom options under Advanced settings under the OpenVPN menu, and restarted the OpenVPN service). May 11, 2017 · Inactivity timeout (--ping-restart), restarting Although it looks like openvpn restarts up, it then blocks all internet activity until it is stopped and restarted. It also requires a restart of oscam as it blocks that channel for awhile.
(I'm on Windows 7 x64, "ping -t" just means ping until I ctrl-C) I don't understand why OpenVPN would be getting an "inactivity timeout", since I'm constantly pinging a machine on the work network. Looking at the logs interactively, it seems the drop happens *before* the above messages are written to the log, for some other reason, and the
3 votes and 8 comments so far on Reddit Feb 24, 2016 · In addition, there is a policy setting in the server to disconnect the clients after a time of inactivity, please go to your server to see if you configuration this setting. The following link introduces how to check, please refer to it.
reinstall issues from version openvpn-install-2.3.4-I003 to openvpn-install-2.3.5-I001, TAP adapter does not install at all in reinstallation mode. (new) TAP adapter hangs and doesn't want to reconnect. (new) when tap adapter hangs I can't kill openvpn.exe process any more, only system reboot seems to help. I see this issue since 2.3.4-I002. (old)
Viscosity For Mac & Windows: Version 1.8.6 updates. Viscosity version 1.8.6 is now available for both macOS and Windows! This update brings a number of small improvements, updated OpenVPN and OpenSSL versions, two-factor authentication enhancements, and small bug fixes. Re: [Openvpn-users] Inactivity timeout From: richard