wireguard-vyatta-ubnt icon indicating copy to clipboard operation
wireguard-vyatta-ubnt copied to clipboard

EdgeRouter 12P after Update from v2.0.9-hotfix.4 to v2.0.9-hotfix.6 WireGuard configuration lost

Open Adi-18 opened this issue 1 year ago • 3 comments

Package version

can not found

Firmware version

2.0.9-hotfix.6

Device

EdgeRouter X (SFP, 10 X, EP-R6) - e50

Issue description

Again Before VPN to pfSense works without any problem. Now after update firmware to v2.0.9-hotfix.6 no more WireGuard connection possible.

There is no any error message shown on display but still no connection. With command "show configuration" In CI there is no any information about wireguard. Also no more nodes entry in "Config Tree" inside of web portal.

It's important for running it as soon as possible because of my work!

Configuration and log output

No response

Adi-18 avatar Jun 03 '23 07:06 Adi-18

This also happened to me, my whole config is gone for wg same hardware/version

mdsitton avatar Jun 05 '23 22:06 mdsitton

Remember, that after a firmware upgrade if you don't have a script automatically reinstalling wireguard - it won't be there because it's not part of the base image.

Also, it's worth mentioning there's a wizard you can install that can help with that. https://github.com/vchrizz/ER-wizard-WireGuard

Amoeba00 avatar Jun 06 '23 04:06 Amoeba00

After rebooting when the firmware has been upgraded, the WireGuard config is still present in the saved configuration but not in the active configuration. Saving the active configuration (e.g. by making changes in the web UI) will cause the WireGuard config to be also removed from the saved configuration.

By rebooting right after the WireGuard installation, the old config should get loaded back including the WireGuard configuration.

Steps that work for me:

  1. Install firmware upgrade
  2. Reboot to activate new firmware
  3. Install WireGuard
  4. Reboot to load back old config

praseodym avatar Jul 05 '23 13:07 praseodym