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

REQ: Add ability to generate and export a WG config for a (different) node #76

Open
xxxserxxx opened this issue Aug 3, 2022 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@xxxserxxx
Copy link

I'd like to be able to add mobile devices (phones, tablets) to a Wesher-configured network. I assume that, since wesher sets up WireGuard networks, that this would be possible using the (e.g.) Android Wireguard app with the right config.

I'm imagining something like this:

1. On a desktop node: `wesher --cluster-key XXXXX --join x.x.x.x --export > mobile.txt`
2. Copy `mobile.txt` to mobile device
3. Import `mobile.txt` in Wireguard app
4. Enable interface

Wesher does some hostfile magic, among other things, and this would obviously be missing on the mobile device, but this would be a start to making it easier for mobile apps to join a Wesher network.

@bbigras
Copy link

bbigras commented Nov 2, 2022

Any interest from the devs on this?

Mobile support would be awesome.

@xxxserxxx
Copy link
Author

@bbigras naggie/dsnet is very similar to this project (it's also Go); it does this (dumping out a config) by default.

@costela costela added enhancement New feature or request help wanted Extra attention is needed labels Nov 4, 2022
@costela
Copy link
Owner

costela commented Nov 4, 2022

hey @xxxserxxx!
It would be indeed cool to have this possibility, but unfortunately adding "proper" mobile support requires significant work, which I'm unlikely to be able to invest in the forseeable future.

The dump/import workaround might be doable, though. I'm just unsure if it's worth it: the whole idea of wesher is keeping mesh membership up-to-date. This workaround would provide you only a "snapshot" of the mesh, which could drift pretty fast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants