Skip to content
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

OpeVPN - Enhance keepalive parameters for client overrides #7574

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Reiner030
Copy link

maybe this patch is child of PR #7572

Reiner030 added 2 commits June 27, 2024 18:43
…eset active

Else Windows client can't connect+route with wrong default topology_subnet parameter,
has yet no push_register_dns and no keepalive parameters available for override

Additionally --push-remove opt could be implemented as a better alternative for
push-reset:

https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/

--push-remove opt
	selectively remove all --push options matching "opt" from the option
	list for a client. "opt" is matched as a substring against the whole
	option string to-be-pushed to the client, so --push-remove route would
	remove all --push route ... and --push route-ipv6 ... statements,
	while --push-remove 'route-ipv6 2001:' would only remove IPv6 routes
	for 2001:... networks. -push-remove can only be used in a client-specific
	context, like in a --client-config-dir file, or --client-connect script
	or plugin -- similar to --push-reset, just more selective.

	NOTE: to change an option, --push-remove can be used to first remove
	the old value, and then add a new --push option with the new value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant