-
Notifications
You must be signed in to change notification settings - Fork 84
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
internal/wguser: support for MacOS #96
Comments
I don't have a Mac. It's possible the userspace implementation's UNIX socket lives in an unexpected path on Mac, so PRs are welcome. |
yeah looks like it doesnt expose the same control sockets. no idea if it can even be controlled |
Works fine on my device. It's important that you bring up the interface with "wireguard-go " before you configure it. |
|
Pretty sure they are the same underlying implementation and the GUI just connects to wireguard-go. |
it there a sample about the programming WireGuard? |
The version from the AppStore is based on WireGuardKit (wireguard-apple repo) which bundles wireguard-go as an macOS/iOS Network Extension. WireGuardKit does not expose the UAPI via a standard socket. which wireguard-go uses. We maybe can extend WireGuardKit to also open a UAPI socket for macOS (iOS doesnt really make sense imho). |
Hi, I have a working implementation of your suggestion. Since all software distributed via App Store has to be sandboxed, there's a limitation as to where you can place the unix socket. However, there's no problem accessing that socket from outside if you assume all the command-line tooling is not sandboxed (which is the case for Homebrew installations at least). WireGuard/wireguard-apple#27 |
Great work 👍🏻 I would love to see this merged. |
is macox supported? i'm just getting "file does not exist" for ConfigureDevice
The text was updated successfully, but these errors were encountered: