Wayline connects your Mac to any WireGuard server. Your VPN provider or your own server gives you a .conf file, and Wayline turns it into a working tunnel with one click. It does not need the official WireGuard app, and the tunnel keeps running even when the app is closed.
When the tunnel is on, your traffic leaves through the server, so websites see the server's IP address instead of yours. Wayline shows you where your traffic goes, how fast it moves, and everything that happens to the connection.
| The tunnel is up in about 70 ms, and the first handshake usually completes in under 100 ms. | If the tunnel drops, all traffic is blocked, so your real IP address never leaks. | Renews a stale handshake, rebuilds a dead tunnel and follows you across networks. |
| Turns on by itself on café, hotel and airport Wi-Fi, and off again at home. | See the route from you to the server, with live traffic and latency. |
Built-in wireguard-go and a system service. The official WireGuard app is not needed.
|
![]() Menu bar panel: status and tunnels at a glance |
![]() Editor: live validation, key generation and QR import |
All screenshots use example data. The locations, addresses and keys are not real.
- Own engine.
wireguard-gois built into the app, and a small system service manages the tunnel, routes and DNS. - Stays up without the app. The tunnel keeps running when you close the window or quit, and comes back after a restart.
- Connection guard. If the server stops answering, Wayline renews the handshake without dropping the tunnel. If that does not help, it rebuilds the tunnel, waiting a little longer between attempts (5 s up to 120 s). It also moves the connection when you switch between Wi-Fi and Ethernet.
- Kill switch. Blocks all internet traffic if the tunnel drops.
- Allow local network. Printers, NAS drives and AirDrop stay reachable while the kill switch is on.
- Auto-connect on untrusted networks, using the tunnel you choose.
- Trusted networks such as home or work, where the tunnel can turn itself off.
macOS only shows Wi-Fi names to apps with location permission. Wayline asks for it only to read the network name, and never stores or sends your location.
- Import a
.conffile or an image of a WireGuard QR code: drag it onto the window or use Add tunnel. - Edit with live validation, so mistakes show up while you type.
- Create a tunnel from scratch with a fresh key pair, then copy the public key for your server.
- Export any tunnel back to a
.conffile.
- Menu bar panel to check status and switch tunnels without opening the window.
- Notifications when the tunnel connects, drops or turns on automatically.
- Global shortcut ⌃⌥⌘W to connect or disconnect from any app.
- Launch at login, and English or Turkish, following your system language by default.
- Download Wayline.dmg from the latest release and drag Wayline into Applications.
- Wayline is not notarized by Apple yet. The first time, right-click Wayline in Applications and choose Open.
- Wayline asks for your administrator password once to install its service. After that, no password is needed.
Requires macOS 14 Sonoma or later on Apple Silicon or Intel.
Uninstall
Open Settings › Service › Uninstall… in the app, or run:
sudo bash /Applications/Wayline.app/Contents/Resources/Service/uninstall.shThen move Wayline to the Trash. Your tunnels stay in ~/Library/Application Support/Wayline until you delete that folder.
- Tunnel configurations, including private keys, stay on your Mac in
~/Library/Application Support/Wayline/Tunnels, readable only by you. - The service only accepts requests from root, the user who installed it, and administrators. The system verifies every connection.
- To draw the map, Wayline looks up the location of your public IP and the server's IP at
ipinfo.io. Nothing else leaves your Mac. There is no analytics or telemetry.
Requires macOS 14+, the Command Line Tools (Xcode is not needed), Go (brew install go) and Python 3.
git clone https://github.com/emresteee/Wayline.git
cd Wayline
./scripts/build.shThis creates build/Wayline.app and build/Wayline.dmg as a universal app. The script:
- Builds
wireguard-gofrom a pinned commit for Apple Silicon and Intel. - Builds the Swift targets for both architectures and merges them with
lipo. - Draws the app icon and signs the bundle ad hoc.
- Packages the DMG with
dmgbuild, which it installs into.build/dmgvenv.
How it works
Wayline.app (you) ── local socket ──▶ wayline-daemon (system service)
├─ wireguard-go the WireGuard tunnel (utun)
├─ ifconfig/route addresses and routes
├─ configd DNS while the tunnel is up
└─ pf kill switch rules
| Part | Folder | Role |
|---|---|---|
WaylineCore |
Sources/WaylineCore |
Reads and writes .conf files, handles keys, defines the app ↔ service protocol |
Wayline |
Sources/Wayline |
The SwiftUI app |
wayline-daemon |
Sources/WaylineDaemon |
The system service: tunnel lifecycle, connection guard, routes, DNS, kill switch |
The service logs every connect and disconnect, with step timings, to /Library/Logs/Wayline/daemon.log.
Troubleshooting
| Problem | Check |
|---|---|
| The tunnel does not come up | /Library/Logs/Wayline/daemon.log |
| Websites do not load | DNS with scutil --dns, routes with netstat -rn -f inet |
| No internet after quitting | The kill switch may still be on. Turn it off in Settings, or run sudo pfctl -a com.apple/250.Wayline -F rules |
MIT. Wayline includes wireguard-go, which is also MIT licensed. WireGuard is a registered trademark of Jason A. Donenfeld. Wayline is not affiliated with the WireGuard project.




