T6617: T6618: vpn ipsec remote-access: fix profile generators (backport #3903) #3921
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change Summary
This fixes several issues with the iOS and Windows remote access VPN profile generators (
generate ipsec profile
) not working correctly in certain scenarios.Types of changes
Related Task(s)
https://vyos.dev/T6617
https://vyos.dev/T6618
Related PR(s)
Component(s) name
vpn ipsec remote-access
Proposed changes
This updates both the iOS and Windows profile generators.
ExtendedAuthEnabled
setting is now properly omitted whenauthentication client-mode x509
is used.How to test
within
edit vpn ipsec
:commit and then try:
generate ipsec profile ios-remote-access ClientVPN remote router.test.com
generate ipsec profile windows-remote-access ClientVPN remote router.test.com
Smoketest result
N/A
Checklist:
This is an automatic backport of pull request #3903 done by [Mergify](https://mergify.com).