EFW Support

Support => VPN Support => Topic started by: shcc on Tuesday 26 August 2014, 03:27:24 pm



Title: How to time-out OpenVPN clients after inactivity
Post by: shcc on Tuesday 26 August 2014, 03:27:24 pm
EFW 3.0:   I would like to time-out OpenVPN "road-warrior" clients after a period of inactivity. I also have many GW-to-GW tunnels so I want to be careful not to disrupt those. I found directives in OpenVPN docs   --inactive   and  --ping-exit   which looks like they should work for my clients, but I'm not sure how to implement them. It looks like I use the  ping-exit n in the client config.  Remove the  keepalive directive from /etc/openvpn/openvpn.conf.tmpl  and add   inactive n

Has anyone done this / got this to work? And once again, I don't want this to mess with the GW-to-GW tunnels.

Thanks