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

What's the difference between clients_data/ and clients_wg/ directories? #157

Open
brandonros opened this issue Feb 27, 2024 · 1 comment

Comments

@brandonros
Copy link

brandonros commented Feb 27, 2024

It's a little confusing as a user to have the same .conf files in 2 different directories. When I click this:

image

I expect to be brought right to the directory needed to copy .conf files to clients.

You want the .conf from clients_wg and not clients_data when it comes to qrencode / sharing with other devices.

@micahmo
Copy link
Owner

micahmo commented Feb 27, 2024

Hi @brandonros, good question! The difference is related to how WireGuard stores data vs. how WS4W stores data.

In WireGuard, each peer's config file contains info about itself as well as info about the peer(s) it's connecting to. However, in the UI, I restructured things to make it easier to configure. You'll notice that all of the server configuration is one place and all of the client configuration is in another place. Ultimately, bits and pieces of that data is spread between the server and client config files. The data directory contains all of the info for a given entity as WS4W sees, and the wg directory contains the same data, divided up into the correct files for WireGuard to understand it.

In terms of where "Open client configuration directory" brings you, I agree it would make sense to go right into the wg directory. I will see if there was any technical reason why it didn't do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants