r/WireGuard • u/a_alberti • 1h ago
A continuation of the WireGuard app for macOS, with some of the most valuable open pull requests merged and notarized by Apple
The WireGuard app for macOS has had no commits since February 2023 (version 1.0.16), and many valuable pull requests were left open in the GitHub mirror. Since I have an active Apple Developer subscription, I decided to take the effort: I reviewed the open pull requests, merged the 8 of the 28 that seemed most valuable to me, plus 3 that had been closed, and published a new version of the app, signed with Developer ID and notarized by Apple. If you would like to see your pull request merged too, ping me (here or in an issue). It is version 2, for macOS only, still a beta: the beta ends once the project has its own name and icon.
If upstream resumes merging pull requests and publishes a new app in the App Store, I will be happy to retire my fork. For the time being, it is a useful place for anybody who needs nested VPN tunnels, for example a WireGuard tunnel on top of eduVPN.
How it came about: I needed a WireGuard tunnel to my lab that runs inside my institute's eduVPN tunnel, which the official app cannot do. macOS sends a VPN app's own packets past every other VPN, straight out over Wi-Fi. My fork binds each tunnel's socket to the interface the routing table chooses, so the inner tunnel goes through the outer one.
What else it adds:
- Several tunnels at the same time, with split DNS per tunnel (pull request #63).
- Ten more pull requests from the mirror (seven open, three closed), each credited to its author in the changelog.
- A system extension, which Apple requires for a VPN distributed outside the App Store, and automatic updates.
https://github.com/alberti42/wireguard-apple
Please review it. If you read the source code, write your review in a gist of your own, starting from the template, which you can copy from https://raw.githubusercontent.com/alberti42/wireguard-apple/main/docs/review-template.md , and link it in an issue. I will list all independent reviews in the README. Each release ZIP carries a build attestation, signed by GitHub, that ties it to the commit it was built from, so anyone can check that a download matches reviewed code; the README explains how.
The fork is not affiliated with the WireGuard project.
PS: While drafting this post, I found earlier posts in this subreddit about other macOS clients, such as WireGuide and LockPlus, so there are now several options to try. I have not tried them myself. What sets my fork apart is that it is probably the closest to the original app: it continues the official code, merges the pull requests that were left open, and adds a few features of my own.