Keepalive a idle vpn client connection?
I use a vpn client connection to a provider. It works fine as long as there is traffic but it becomes disconnected overnight. The status in pfsense shows connected but it will not work until I restart the connection manually. A ping test seems to be more reliable than the pfsense status for openvpn.
Short of running a periodic cron job to do a ping just to generate traffic and restart vpn client connection on failure, is there something else that I can try?
You seem to have forgotten what type of vpn you are using…