Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transformation to wireguard in upcoming release #153

Open
jzielke84 opened this issue Jan 5, 2024 · 6 comments
Open

Transformation to wireguard in upcoming release #153

jzielke84 opened this issue Jan 5, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@jzielke84
Copy link

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

@jzielke84 jzielke84 added the enhancement New feature or request label Jan 5, 2024
@FossoresLP
Copy link
Collaborator

FossoresLP commented Jan 6, 2024

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
Copy link
Author

@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
Copy link
Collaborator

@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
Copy link
Author

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

@boteman
Copy link

boteman commented Jan 6, 2024

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

@LucaDev
Copy link

LucaDev commented Feb 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

4 participants