-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keepalive params too low - causing restart spin #74
Comments
Further to this, after much to-and-fro with settings. It appears that the server will always override the setting via push. On the first boot of the client it goes well because it is using the locally overridden timeout (120s).
Then on a disconnect/server-restart etc. It honours the value of timeout that was pushed. (4s)
Using an OpenVPN 2.4 client I am able to use the
Which seems to work; the client merrily sets up the connection. After much promise, ovpm is now inoperable for me and I don't seem to be able to recompile it myself as a local workaround. |
I worked out how to build it locally and testing an modest increase in ping-timeout setting from 4s to 10s which works fine. My build notes. |
Sorry for causing you so much burden. But thanks to you now the Wiki has a Development page. 😄 For the timeouts and keepalive settings etc. The reason I picked these values was completely related to the nature of the applications of OVPM in my company. The wise thing to do is to make these values configurable through OVPM and use OpenVPN defaults as the defaults. I've created #77 for this purpose and closing this issue in favor of #77. |
Regarding this client config line
ovpm/template/client.ovpn.tmpl
Line 12 in 4beee04
... and this server config line
ovpm/template/server.conf.tmpl
Line 216 in 4beee04
I have an atom 686 CPU board which isn't too quick at crypto. On a fast network, it can't bring up a VPN connection within 4 seconds and so constantly restarts.
I can change this setting manually in the client OVPN config file,
keepalive 10 120
which seems to be working fine. It remains as compiled on the server, but doesn't seem to be causing issue.Thanks
The text was updated successfully, but these errors were encountered: