Regression #12172
closed
OpenVPN Wizard configuration missing recently added default values
Added by Marcos M about 3 years ago.
Updated almost 3 years ago.
Plus Target Version:
22.01
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.
- Description updated (diff)
- Status changed from New to Pull Request Review
- Target version set to 2.6.0
- Plus Target Version set to 21.09
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.
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
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
- Assignee set to Viktor Gurov
- Subject changed from OpenVPN Wizard generates incorrect configuration to OpenVPN Wizard configuration missing some recently added default values
Updating subject for release notes.
- Subject changed from OpenVPN Wizard configuration missing some recently added default values to OpenVPN Wizard configuration missing recently added default values
- Tracker changed from Bug to Regression
- Affected Version set to 2.6.0
- Status changed from Feedback to Resolved
- Plus Target Version changed from 21.09 to 22.01
Also available in: Atom
PDF