Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Config restore broken for wireguard [SOLVED]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Config restore broken for wireguard [SOLVED] (Read 1260 times)
Raketenmeyer
Jr. Member
Posts: 55
Karma: 7
Config restore broken for wireguard [SOLVED]
«
on:
March 24, 2022, 04:18:06 pm »
Yesterday I had to reinstall 22.1.3 on a DEC690 with broken UFS filesystem (multiple power outages). The reinstall (ZFS) followed by a config import went without any problem - except the wireguard setup. Wireguard was broken afterwards - the plugins page listed "os-wireguard" as missing and the only visible wireguard related thing was it's (inactive) interface in the corresponding list.
After installing the wireguard plugin, the former configuration from the backup (local & endpoint) showed up in the GUI but was not applied to the plugin. I had to edit and save each configuration (without changes) to get it working. Afterwards the configured wireguard tunnel started working again.
«
Last Edit: March 25, 2022, 05:44:14 am by Raketenmeyer
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Config restore broken for wireguard
«
Reply #1 on:
March 24, 2022, 07:14:05 pm »
That sounds like it's working as intended:
The system won't automatically restore your plugins, but remember that they are required and prompt for it.
On plugin install or removal we do not mess with running service states or start/stop services even if they were enabled in the config already.
Cheers,
Franco
Logged
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: Config restore broken for wireguard
«
Reply #2 on:
March 24, 2022, 07:20:26 pm »
If I do fresh install with config import:
- Install
- Switch to LibreSSL (optional) and reboot
- Install your needed plugins
- Import config.xml
- Login via console and manually add needed custom cron jobs
Did I forget something? ;-)
The config import is not all to be done on a freh install...
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
Raketenmeyer
Jr. Member
Posts: 55
Karma: 7
Re: Config restore broken for wireguard
«
Reply #3 on:
March 25, 2022, 05:42:26 am »
Thanks for your answers - looks like it was my fault. I thought the config import would also install the depending plugins. Good to know for the next restore
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Config restore broken for wireguard [SOLVED]