OpenVPN Instaces Road Warrior Setup - Keepalive necessary

Started by jhw, November 20, 2024, 10:42:07 AM

Previous topic - Next topic
Hello OPNsense Community,

I recently migrated 12 OpenVPN servers from the legacy configuration to the new "Instances" setup, following the updated documentation:

OPNsense SSL VPN Road Warrior (Instance Configuration)
https://docs.opnsense.org/manual/how-tos/sslvpn_instance_roadwarrior.html

After the migration, many users experienced frequent disconnections after a short period. Although there were no error messages in the server logs, the client logs consistently displayed the following line:

SIGUSR1[soft,ping-restart] received, process restarting

To resolve this, I adjusted the Keep Alive settings in the advanced options. I set the Keep Alive Interval to 10 and the Keep Alive Timeout to 120. Following these changes, all disconnection issues were resolved.

I hope this information helps anyone facing similar problems.

Best regards,
JHW

Hello!
I had the same issue (dusconnecting after 30 seconds), and solved it the same way today.
This should be included in the How-To article.
Thanks for the post, I am sure it will help someone in the future.