WireGuard / wireguard-vyatta-ubnt

WireGuard for Ubiquiti Devices
https://www.wireguard.com/
GNU General Public License v3.0
1.45k stars 68 forks source link

Transformation to wireguard in upcoming release #153

Open jzielke84 opened 5 months ago

jzielke84 commented 5 months ago

Just curious if I have to take any precautions when upgrading the next edgeos release which itself includes wireguard.

FossoresLP commented 5 months ago

Hi @jzielke84,

I didn't notice that Ubiquiti was working on a new version of EdgeOS, thanks for bringing this to my attention.

Native WireGuard support does make this package basically obsolete for EdgeOS 3.

There likely won't be a clean upgrade path, so I would recommend manually saving all configuration options (possibly including private keys) related to WireGuard on your computer, removing all of them (to prevent any incompatibilities) and then configuring WireGuard in EdgeOS 3 based on your previous configuration.

If there is anyone who has tried upgrading to EdgeOS 3 before, please let us know your experience.

jzielke84 commented 5 months ago

@FossoresLP Well what I did is install the Pre-Release RC5 on my Ederouter X, resetted the system and ran the same commands for setting up a tunnel. The syntax is the same, though I din't check if this 3rd party package would interfere with the one from Ubiquiti.

FossoresLP commented 5 months ago

@jzielke84 Thanks for the feedback, the package itself should not interfere since it is automatically removed as part of the upgrade process.

Many users are using various ways to automatically reinstall the package during upgrades. Those should be disabled / removed before the upgrade to EdgeOS 3, but the package would likely refuse to install as it checks for a compatible kernel (unless the kernel version stayed the same from 2.0.9).

Based on your feedback I guess the easiest way to upgrade would be creating a config backup (just in case), removing any mechanisms that automatically reinstall the package and then performing the upgrade. In the best case, the configuration would just persist, otherwise it can be restored.

jzielke84 commented 5 months ago

Thanks for clarifying. You may close this one here now if you like. Maybe release this information in the official ReadMe.

boteman commented 5 months ago

FYI, "show configuration commands" reveals passwords, secrets, and keys which could aid efforts to archive.

LucaDev commented 4 months ago

Don't worry. You can just upgrade your edgeos version to 3.x. No need to remove/edit any configuration beforehand. I think Ubiquiti added this exact package for their wireguard support. The configuration is fully compatible