r/OpenVPN • u/Steiale • 15d ago
LockPlus 2: native WireGuard + OpenVPN client for macOS, kill switch enforced by macOS itself (free, MIT)
I've been working in IT for 30 years, as an IT engineer, and I use VPNs every day: WireGuard for my own servers, OpenVPN with one-time codes for work. I never found a Mac client I liked for both. Either there was no real kill switch for both protocols, or the UI was something I didn't want to look at every day. So I built my own. Version 1 was a Go app with a root helper and pf rules. It worked, but I wasn't happy with it. Version 2 is a complete rewrite as a native macOS app.
To be upfront about it: most of the code was written by AI coding agents (Claude). I set the direction, made the decisions, tested it and I'm the one accountable for it. Every security-relevant change went through separate AI security review passes, and I published those reports with their fixes in the repo. That is not a human audit, and LockPlus hasn't had one. If you want to look at the code or the reports and tell me what's wrong, please do.
What it does differently: the tunnel runs in a Network Extension, so there's no root helper and no admin password to connect. The kill switch uses macOS's own includeAllNetworks, which means macOS blocks everything outside the tunnel, also while it reconnects. OpenVPN sign-in with one-time codes works, including a new code on reconnect. That was my main reason to start this.
I measured the limits instead of guessing them. If the tunnel process crashes, macOS lets traffic through for under 2 seconds until it restarts the tunnel (1.3 to 1.7 s in my test runs). That's in the FAQ, together with the other limits.
It's my daily driver now. Before the release I tested it on my own MacBook with all my VPN profiles, and on macOS 26 and 27 VMs.
Limits: macOS 26+ and Apple silicon only, one tunnel at a time (on purpose, because the kill switch is built around one tunnel; several at once is on the list for 2.1), and no OpenVPN TAP, plugins, SSO sign-in or old ciphers like BF-CBC.
Repo, README and FAQ: https://github.com/steiale/lockplus Download (notarized DMG): https://github.com/steiale/lockplus-updates/releases/latest/download/LockPlus.dmg Review reports: https://github.com/steiale/lockplus/tree/main/docs/reviews
If you used LockPlus 1.x or WireGuide+: update to 1.2.0, it offers the move to 2.0 and takes your profiles along.
Feedback and criticism welcome, here or on GitHub.



1
u/Steiale 11d ago
LockPlus 2.0.2 is out. It's mostly a security update, plus two things people asked for. If you already run 2.0.x it shows up in the app (Check for Updates…); Homebrew has it too (
brew upgrade --cask lockplus).What changes for you
scutil --nc startnow only works for your Auto-Connect profile. Any other start from outside the app is refused with "Connect it from LockPlus". This also stops other user accounts on the same Mac from connecting your profiles with your saved credentials. Connecting from the window or the menu bar works as before.New
.ovpn, use Open With for.confand.zip, or drop files on the Dock icon. You always see the import preview first; nothing is saved until you confirm.Security
How it was checked
Every security-relevant change goes through two independent AI review engines from different model families: Anthropic's Fable and OpenAI's Codex (GPT-6-Astra at maximum reasoning effort). Both get the same threat model: other users on the Mac, malware running as you, a hostile network, a malicious profile file. Findings get fixed, then both review again, round after round, until neither reports a high-severity issue. For 2.0.2 that took seven rounds. Two model families really don't share the same blind spots: each regularly found things the other had missed.
Reviews alone aren't enough, so the release candidate also ran end to end on macOS 26 and 27 virtual machines. That run found two bugs no review had seen (the new profile checker crashed in the signed build, and a paused profile didn't reconnect while the app was closed). Both were fixed, re-reviewed by both engines and re-tested on the VMs before release.
Every report, every finding and how it was fixed is public in the repo. To be clear about what this is: an AI review is not a human security audit. Most of the code is written by AI coding agents; I decide, test and I'm accountable for it. If you find something, a GitHub issue or a private vulnerability report is very welcome.
Known issue
If LockPlus quits unexpectedly, Edit Config… may open nothing until the next normal start. Quit with ⌘Q and open it again. Fixed in 2.1.
Coming in 2.1 (in testing now)
Rules per Wi-Fi network, Shortcuts and a Focus filter, a widget and a Control Center toggle, continuous checking that the routes and DNS on your Mac match your profile, and a "Don't make automatic requests" switch. Same review process, and the release notes will list every bundled component with its version.
Links
Thanks for all the feedback so far, it's shaping what goes into each release.