Regression #12172
closedOpenVPN Wizard configuration missing recently added default values
100%
Description
After generating an RA OpenVPN Server configuration through the wizard, config.xml
contains the following:
<tls>Some_Key_A</tls> <ncp_enable>on</ncp_enable>
After clicking edit then save on that wizard-generated server config, config.xml
contains the following:
<tls>Some_Key_B</tls> <ncp_enable>disabled</ncp_enable> <exit_notify>none</exit_notify> <inactive_seconds>0</inactive_seconds>
There may be other inconsistencies as well.
Updated by Viktor Gurov over 3 years ago
fix for ncp_enable
value:
https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/305
but I cannot reproduce the incorrect exit_notify
and inactive_seconds
values
Updated by Jim Pingle over 3 years ago
- Status changed from New to Pull Request Review
- Target version set to 2.6.0
- Plus Target Version set to 21.09
Updated by Marcos M over 3 years ago
Note, the decoded TLS key is the same, only the xml contains different encoded text.
I can reproduce the issue described on the report when testing on:
21.05-RELEASE (amd64)
built on Tue Jun 01 16:52:56 EDT 2021
However, I get different results when testing the same steps on:
21.09-DEVELOPMENT (amd64)
built on Sun Aug 08 01:12:39 EDT 2021
- Go to OpenVPN Wizard
- Default selection; Click Next
- Enter descriptive name; click Add new CA
- Enter descriptive name; click Create new Certificate
- Enter tunnel network; click Next
- Click Next
- Click Finish
Resulting config.xml
is correct. After repeating steps (reusing created CA and cert from previous steps), latest dev version did not increment the local port automatically.
Updated by Viktor Gurov over 3 years ago
Marcos Mendoza wrote in #note-4:
Resulting
config.xml
is correct. After repeating steps (reusing created CA and cert from previous steps), latest dev version did not increment the local port automatically.
The "Tunnel Network" value should also be cleared to avoid creating two instances with the same "Tunnel Network" value.
fix:
https://gitlab.netgate.com/pfSense/pfSense/-/merge_requests/332
Updated by Viktor Gurov over 3 years ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset 883ea6ab4221caef114de98b3b63a5fbd8980fe9.
Updated by Jim Pingle over 3 years ago
- Subject changed from OpenVPN Wizard generates incorrect configuration to OpenVPN Wizard configuration missing some recently added default values
Updating subject for release notes.
Updated by Jim Pingle over 3 years ago
- Subject changed from OpenVPN Wizard configuration missing some recently added default values to OpenVPN Wizard configuration missing recently added default values
Updated by Jim Pingle over 3 years ago
- Tracker changed from Bug to Regression
- Affected Version set to 2.6.0
Updated by Jim Pingle about 3 years ago
- Plus Target Version changed from 21.09 to 22.01