I have a strange issue with NetworkManager. My Linux box is an openSUSE LEAP 15. Network is provided by NetworkManager. The local ethernet connection has static configuration.
And I have a VPN connection, based on the openconnect client. Without certificates, just Username/Password.
My problem is that the VPN connection drops every now and them. From the logs, it appears to be a "timeout" setting.
Oct 29 12:43:30 ws.example.com openconnect: Received server disconnect: b0 'Idle Timeout'
But, the nmcli shows no timeout:
I struggle to understand why this is happening. I have exactly the same configuration in a Fedora 27 & a Fedora 28. The 2 Fedoras are not disconnected, even if I leave the machines idle for hours!
In terms of packages, the Fedora 28 are:
The Leap 15:
So, the questions are:
- Is there any general "keep-alive" option in the NetworkManager that I could use in order to stop this timeout thing?
- Apart from a hack that will use ping or anything similar, is there any other place where I should take a look in case there is a keep-alive directive that I could use with the vpn?