plugins
plugins copied to clipboard
Wireguard configuration files are not updated on config.xml manual change
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
Manually updating the config.xml file and restarting services or rebooting the machine doesn't update wireguard configuration files. Found on version 22.1.6
To Reproduce
Steps to reproduce the behavior:
- Login via SSH
- Manual edit /conf/config.xml in the wireguard section (i.e., update interface IP address)
- Force services reload or reboot the machine
- Wireguard configuration files are not updated causing issues.
Expected behavior
Manual updating /conf/config.xml I'm expecting that changes are reflected in all the system configurations.
Describe alternatives you considered
Changing from the web interface, or manually editing the wireguard configuration files solve the issue.
Screenshots
N/A
Relevant log files
N/A
Additional context
N/A
Environment
OPNsense 22.1.6 (amd64, OpenSSL).
Restarting doesnt generate the config. You need to refresh UI and hit apply
Restarting doesnt generate the config. You need to refresh UI and hit apply
But if you don't have web access, you can't fix it. There is no other way? Can't be fixed?
configctl template reload OPNsense/Wireguard
Just a guess, not at a computer. Just google for similar syntax
The only way this doesn't work after reboot is when the data is malformed. Check the logs.
This issue has been automatically timed-out (after 180 days of inactivity).
For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.
If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.