Guides

WireGuard on Mac: the WireTunnels guides

This is how WireGuard behaves on macOS, and how to get it to do what you want without living in the terminal: several tunnels up at once, a kill switch, split DNS, multi-hop, AmneziaWG, per-network profiles. We wrote WireTunnels, so we also wrote down where it falls short.

Each guide covers what the feature is for, what happens underneath, where to click and where people trip. Read them in any order; the index next to the text jumps to the one you need.

macOS 14 or later11 guides27 min total reading timeChecked against WireTunnels 1.1.048 stars on GitHub

Quick start

From download to first tunnel in 4 steps

  1. 01

    Download and install

    Grab the .dmg from the latest release and drag WireTunnels.app into Applications. You need macOS 14 (Sonoma) or later.

  2. 02

    Approve the helper

    Open the app from Applications and approve the privileged helper when it asks. The WireGuard tools ship inside the app, so there is nothing else to download.

  3. 03

    Import your tunnel

    Import Config takes your .conf file or a QR code. New Tunnel builds one from scratch.

  4. 04

    Connect

    From the menu bar or the dashboard. Then come back for the kill switch, split DNS and the rest.

Getting started3 min read

Import a .conf file, or build a WireGuard tunnel from scratch

Most tunnels start as a file somebody sent you: a .conf exported from a server panel, a QR code. WireTunnels reads it line by line and shows you what it would do before it touches the system.

WireTunnels dashboard listing tunnels, with the Import Config and New Tunnel buttons in the top right corner
Top right: Import Config (down arrow) and New Tunnel (+). The data is invented demo data.

What is inside a configuration file

A WireGuard file has two sections. [Interface] holds your private key, the address you get inside the tunnel and, if needed, DNS. [Peer] holds the server's public key, the Endpoint and the AllowedIPs, the address ranges that should go through the tunnel. If AllowedIPs contains 0.0.0.0/0, all IPv4 traffic enters the tunnel; if it only has 10.8.0.0/24, just that network does. It is the one line that really changes behavior, and it is the difference between the Full Tunnel and Split Tunnel templates.

WireTunnels currently handles configurations with a single [Peer] per file. That is deliberate rather than an oversight: the app's parser and the privileged helper's check both accept exactly one peer, and the files that circulate between providers and admins are almost always shaped that way.

What gets checked before anything is saved

Import is a short sequence: source, validation, review, import. Nothing is added or connected until you press Import. The review flags syntax errors, safety problems, missing fields and bad formats, each with a hint and a line number. Valid syntax is not a working tunnel, though; only a real connection tells you that. Private and preshared keys never show up in previews or logs.

The same screen lets you pick where the tunnel lives: My Tunnels, private to your account, or Visible to All Users, which needs an administrator and is covered in the shared tunnels guide.

Importing a file, step by step

  1. 1

    Open the dashboard from the menu bar and click Import Config, the down-arrow icon in the top right. The one next to it, with the plus, is New Tunnel.

  2. 2

    Drop the .conf file on the area shown, or click it to pick a file. For a QR code you can open the image or use Paste QR Code from Clipboard.

  3. 3

    Read the review: the checklist, the routes and DNS servers it would set up, and any Configuration warnings. If something is wrong, Fix in the Advanced Editor opens the text so you can correct it.

  4. 4

    Pick a name (up to 50 characters) and the destination, then press Import. From the result you can open the tunnel right away with Open tunnel.

Creating from scratch: basic editor, advanced editor, templates

New Tunnel gives you two ways to work. The Basic Form is a form with the configuration fields: Generate creates the key pair (the private key stays on the Mac, masked), and one button sets AllowedIPs to all traffic, 0.0.0.0/0, ::/0, with a reminder that you can list just the networks you want to reach instead. The Advanced Editor is the raw text with the same line-by-line checks. You can move between them, but the app refuses to go back to the form if the editor holds something the form would lose, and leaves your text as it is.

In the advanced editor, the Template button inserts one of three starting points: Empty, with every required section and blank fields; Split Tunnel, which routes only certain subnets (10.8.0.0/24 and 192.168.0.0/24 in the example); Full Tunnel, which routes everything through 0.0.0.0/0. Values such as <PRIVATE_KEY> and vpn.example.com:51820 are placeholders to replace, and if the editor already has text the app asks before replacing it.

Before you trust a file that came from outside

A detail with consequences: wg-quick runs PostUp and PreDown lines as root. WireTunnels' helper filters those constructs, and in 1.0.7 we closed several ways around the filter, but the rule is the one in the README: read a file before you import it, especially one you did not write.

One thing about the Full Tunnel template: it has ::/0 in AllowedIPs but only an IPv4 address. If your server does not give you an IPv6 address, import flags it as a possible IPv6 leak. Add the IPv6 address or drop ::/0.

Basics3 min read

Running several WireGuard tunnels at once on a Mac

One tunnel for the office, one for the home lab, maybe a third to exit from another country. Sooner or later you have four .conf files and want two or three of them up at the same moment. The official Mac app gives you little room for that, and the alternative is wg-quick up in a terminal.

WireTunnels Active section showing three connected tunnels with uptime, last handshake, speed and quality verdict
The Active section: three tunnels up together, with uptime, last handshake, speed and quality. Names and data are demo.

When two tunnels coexist and when they don't

Every WireGuard tunnel is its own utun interface, and the kernel sends each packet along the most specific route. As long as the AllowedIPs ranges do not overlap, tunnels get along with no help from you. The healthy case looks like 10.8.0.0/24 to the office and 192.168.50.0/24 to home.

Trouble comes in two forms. Two tunnels claim the same network, and traffic goes to whichever the kernel prefers. Or two tunnels both want to be the default route, and only one can be. WireTunnels does not fix the geometry, but it shows it to you: the Network tab of each tunnel lists Allowed IPs, DNS and interface, and Warnings reports Multiple Full Tunnels, Overlapping Routes and DNS Conflict when two active tunnels set different DNS servers.

What the app does while they are up

Behind the scenes WireTunnels runs wg-quick through the privileged helper you approved. The wg, wg-quick and wireguard-go binaries come inside the signed app, and the helper verifies them before each run. To decide which live interface belongs to which tunnel we do not trust the utunN name, because macOS hands out the first free slot again and again. Each tunnel keeps the public key derived from its own private key, and matching goes through that. We learned this the hard way from a user whose server reused one key on two ports: bringing up one tunnel showed both as connected.

Bringing up two tunnels together

  1. 1

    Import or create the tunnels and name each after what it reaches. The limit is 50 characters.

  2. 2

    Before connecting, open each one's Network tab and check Allowed IPs: the ranges should not overlap, and at most one of them should contain 0.0.0.0/0.

  3. 3

    Connect with the tunnel's switch, from the menu bar or the All Tunnels list. For the ones you always use, click the star: favorites get their own Favorites section, and Start Favorites in the menu bar brings them all up at once.

  4. 4

    Check the Active section: it lists connected tunnels with uptime, last handshake, speed and quality. If a warning shows up, Warnings explains it.

  5. 5

    To drop everything, use Stop All in the menu bar.

Where it jams

Two full tunnels cannot work together: one default route wins, usually the one installed last. DNS behaves similarly, because if two active tunnels push different servers, name resolution turns unpredictable. The clean way out is split DNS, where each tunnel answers only for its own domains.

Easy to forget: tunnels shared between the Mac's users follow their own rules, described in their guide, and cannot join a multi-hop chain. Split-tunnel exclusions, on the other hand, are set at runtime for each personal tunnel in the Network tab, with no config edit and no reconnect.

Safety2 min read

WireGuard kill switch on macOS, built on pf

If the tunnel drops and the Mac keeps browsing over the normal network, your real address ends up in someone else's logs and nothing tells you. That is what a kill switch is for: until the tunnel is up, traffic does not leave.

WireTunnels Warnings screen with a list of warnings and the detail of the selected one
The Warnings screen: a kill switch that is blocking traffic appears here as Kill Switch Active. The warnings in this screenshot are demo data about something else.

Why WireGuard alone isn't enough

WireGuard is quiet by design: if the peer does not answer, packets simply do not arrive, and nothing signals it. As long as the tunnel's interface exists, its routes stay installed and traffic keeps flowing into it. The real risk is when the interface disappears, through a wireguard-go crash, a network change on wake or a forced restart: the routes vanish with it and traffic goes back out over the physical network as if the tunnel had never been there.

What WireTunnels loads into pf

The kill switch is per tunnel and relies on macOS's packet filter, pf. When a tunnel with a kill switch connects, the helper loads a handful of rules into the com.apple/wiretunnels.killswitch anchor: block everything, let loopback through, let anything on the tunnel's interface through, and allow only UDP packets to the server's endpoint (port included) sent by root, so the tunnel can renegotiate. Everything else, local network included, is dropped. An earlier release used an anchor the system never evaluates, so the kill switch blocked nothing; since 1.0.7 we have verified it live.

The app keeps the last known interface and endpoint of every armed tunnel in memory and reloads the whole rule set on each relevant event, wake included, when the interface name and endpoint may have changed. pf is enabled and never disabled by the app, and quitting WireTunnels releases the rules.

Turning it on for a tunnel

  1. 1

    Open the tunnel from All Tunnels and go to the Safety tab, the fifth one, after On-Demand.

  2. 2

    Switch on Block traffic if this tunnel drops.

  3. 3

    Connect the tunnel. The kill switch arms once the tunnel is up, because it needs the real interface and endpoint.

  4. 4

    If the tunnel drops without you turning it off, traffic stays blocked and Kill Switch Active appears in Warnings. You get out by reconnecting the tunnel or switching its kill switch off.

  5. 5

    If you turn it off yourself with Disconnect, nothing is blocked.

Limits and surprises

Blocking means blocking: while the kill switch is active even the network printer is out of reach. On split tunnels, with few AllowedIPs, ask yourself whether it makes sense, since the rule also stops traffic that would never have gone through the tunnel anyway.

If the app cannot work out the endpoint, it arms nothing: it tells you in a notification and leaves traffic open rather than block it for no reason. On a shared tunnel only an administrator can change the switch. With several armed tunnels, their rules share the same anchor. And like all pf rules here, it only holds while WireTunnels is running.

DNS3 min read

Split DNS with WireGuard on Mac, using /etc/resolver

With a tunnel to the office you want nas.lan or git.corp.example resolved by the office DNS, while everything else keeps going through your home DNS. That does not come for free: the DNS = line in a WireGuard config usually changes DNS for the whole system.

Tunnel detail in WireTunnels with the tab bar: Overview, Sharing, Network, On-Demand, Safety and Config
A tunnel's tab bar: Split DNS lives in the third one, Network. Sharing happens to be open here, and the data is demo.

The trouble with the DNS = line

On macOS wg-quick applies DNS = to the active network service, and from then on every name, example.com included, goes to that server. It is often unreachable when the tunnel drops, or slows everything down if it is far away. Split DNS does the opposite: you declare which domains are internal and only those go to the tunnel's DNS.

How the app does it

macOS supports per-domain resolvers: a file at /etc/resolver/<domain> tells the system to send queries for that domain and its subdomains to the nameservers in it. WireTunnels writes those files through the helper, using the servers from the tunnel's DNS =, and puts a # Managed by WireTunnels comment in each, with the owning macOS user. That marker is the whole point: files without it are never modified or removed by the app, so resolvers you wrote by hand, or another program wrote, stay where they are.

When you set at least one domain, the tunnel is brought up without the DNS = line (the same trick used on the entry leg of a multi-hop chain), so wg-quick leaves system DNS alone. The full set of files is re-synced on every connect, every disconnect, when the tunnel drops and when the app starts, which also clears orphans. Each macOS user manages their own: one user's sync never removes another's files.

Setting up the domains

  1. 1

    Make sure the tunnel has at least one server in its DNS = line. Without one the app tells you there is nothing to route.

  2. 2

    Open the tunnel, Network tab, Split DNS section.

  3. 3

    Type a domain, for instance lan or corp.example, and press Add. Repeat for each one.

  4. 4

    If the tunnel is connected, adding the first domain or removing the last one offers to reconnect: Reconnect Now or Apply Later. Reconnecting interrupts the link briefly; without it, system DNS stays as it was until the next connect.

  5. 5

    Check with scutil --dns, where the domains show up as separate resolvers, and with dscacheutil -q host -a name nas.lan or a ping to the name.

Where nearly everyone trips

Do not test with dig or nslookup: they talk straight to a server and ignore the files in /etc/resolver, so it will look like nothing works. Use tools that go through the system resolver.

The Search Domains field in the create form is something else: it lands on the same DNS = line and wg-quick applies it as search domains while the tunnel is up, so nas becomes nas.lan. Split DNS routes. Every domain you add sends all of its queries to the tunnel's DNS, so add only domains that really are internal. On shared tunnels the domains are part of the tunnel's policy and only an administrator edits them.

Per-network automation3 min read

Network profiles on Mac: DNS, proxy and tunnels per Wi-Fi

The same Mac sits on the office Wi-Fi, the home Wi-Fi and a public hotspot, and each place wants something different: filtered DNS, a corporate proxy, a tunnel on or off. Network profiles do that for you when the network changes.

WireTunnels Network Profiles section with three profiles and the detail of the active one
Network Profiles: "At the office" is the active profile, with custom DNS and a tunnel to connect. Profiles and networks are demo.

What a profile is made of

A profile has a condition, a Wi-Fi name or an Ethernet subnet, and four optional actions. DNS: Cloudflare, Quad9, Google or up to eight addresses of your own, IPv4 and IPv6. Proxy: leave unchanged, manual (HTTP, HTTPS and SOCKS with a bypass list) or automatic with the address of a PAC file. Tunnels: connect or disconnect, once, when the profile becomes active. Shortcut: the name of a Shortcut to run. Profiles are global, unlike On-Demand rules, which belong to a single tunnel.

When several profiles match, the first enabled one in list order wins, and Move up and Move down reorder them. If a profile is covered by one above it, say an "any Wi-Fi" entry at the top, the app says "It may never run".

Who wins on DNS

A connected tunnel's own DNS always beats the profile's. When the tunnel disconnects, the profile's DNS comes back, and when you quit the app the original settings return. If none of a profile's servers answer after it is applied, the app restores system DNS and tells you why. Changing DNS and proxy needs an administrator account. Before the first change the helper saves the network service's original proxy settings and puts them back when the profile ends, on quit, or at the next start after a crash.

Your first profile

  1. 1

    Open Network Profiles in the sidebar and press Add Profile.

  2. 2

    Under Network choose Wi-Fi, Ethernet or both. For Wi-Fi, type one name per line or add the current network with the button; for Ethernet, give subnets in CIDR notation such as 192.0.2.0/24. Empty means "any".

  3. 3

    Set DNS with a preset or Custom. Test DNS sends one small request to each server, only when you press it, and shows the latency.

  4. 4

    Add, if you need them, the proxy, the tunnels to connect or disconnect and the Shortcut name.

  5. 5

    Save. The active profile appears at the top, with what was applied and what was not.

What profiles don't do

The tunnel action runs once, when the profile activates, and the tunnel's own On-Demand rule can undo it at the next network change, so pick one place to decide. There is no DoH or DoT, only classic DNS, and the preset addresses are the providers' published anycast resolvers. Servers have to be IP addresses, not names, because you cannot resolve a name before DNS works. If the app crashes while a profile is active, the settings stay until it starts again.

To read the Wi-Fi name macOS requires the Location permission: if it is missing, the app says so and offers to open System Settings. Flush DNS Cache empties the system DNS cache, and it also happens by itself whenever a profile changes the DNS servers or gives them back.

Halfway through

These make more sense with the app open

WireTunnels is free, needs no account and the source is on GitHub. If you want to try what you just read, the download is a signed, notarized .dmg.

Privacy2 min read

WireGuard multi-hop on macOS: one tunnel inside another

Multi-hop means sending traffic through two servers in a row: you, an entry, an exit, the Internet. The exit server sees the entry's address, not yours.

WireTunnels Multi-Hop section with a disconnected chain and the route You, entry, exit, Internet
The Multi-Hop section with the "Hop Entry → Hop Exit" chain still disconnected. Names and addresses are demo.

What it is for, and what it isn't

The entry server knows who you are but cannot see the traffic itself; the exit server sees where you go but not who you are. It helps separate those two facts, or reach an exit that is only available through another node. It is not guaranteed anonymity: if both servers belong to the same operator, the separation is gone, and security depends on whoever runs them. WireTunnels routes. It does not promise more than that.

How the chain gets built

WireGuard has no native multi-hop, and wg-quick accepts a single [Peer] per config. So the chain is assembled on the client from two ordinary tunnels and a host route. The app brings up the entry first, resolves the exit tunnel's endpoint to a literal IP address, installs a route to that IP through the entry's interface and only then connects the exit. The exit's WireGuard packets therefore travel inside the entry tunnel. Disconnecting runs in reverse, with a rollback if a step fails.

Two decisions we only made after hitting the wall. The entry leg does not touch system DNS, because two tunnels saving and restoring DNS on top of each other left a VPN server in the settings after disconnecting: now only the exit sets DNS. And when the Mac wakes from sleep, the entry's interface is recreated and the kernel quietly drops the host route, so the app reinstalls it from scratch on every wake, or the exit used to slip back onto the normal network for a while.

Creating and using a chain

  1. 1

    You need two personal tunnels, both disconnected, not already in another chain and without an Inventory command.

  2. 2

    Open Multi-Hop and press New Chain.

  3. 3

    Pick Entry tunnel (first hop) and Exit tunnel (last hop). The checklist under the pickers fills in, and Create Chain only enables once every condition is met.

  4. 4

    Select the chain and press Connect. The entry comes up first, then the exit; with monitoring on you also get end-to-end latency.

  5. 5

    To shut it down use Disconnect on the chain, not on the individual tunnels.

Limits

It only works with personal tunnels: shared tunnels cannot be part of a chain. Pairs cannot be edited, so to change tunnels you delete the chain (both tunnels stay) and create another. A chain starts and stops only from its own controls: a member's On-Demand rule governs that tunnel alone. While the chain is fully connected, its two tunnels cannot be handled one by one from the list.

End-to-end latency comes from a probe of its own on the exit tunnel, across the whole chain. It is not the sum of the two hops, and without monitoring turned on it does not exist.

Protocols2 min read

AmneziaWG on macOS: running it in WireTunnels

AmneziaWG is a variant of WireGuard made for networks that recognize and block WireGuard's handshake. WireTunnels runs it next to plain WireGuard, in the same tunnel list.

Detail of a disconnected tunnel in WireTunnels with the WireGuard engine shown under the name and a Connect button
The engine appears under the tunnel name (WireGuard here): click it to choose Automatic, WireGuard or AmneziaWG. Demo data.

Why a variant exists

WireGuard's handshake has fixed sizes and headers, and some networks block exactly that signature. AmneziaWG keeps WireGuard's cryptography and model and adds obfuscation parameters: junk packets before the handshake (Jc, Jmin, Jmax), padding on handshake packets (S1–S4), custom headers (H1–H4) and, in newer versions, signature packets (I1–I5). Both ends must use the same values. It is no guarantee of getting past a filter: that depends on the network and on how the server is set up.

What the app does

awg, awg-quick and amneziawg-go are bundled in the app, built from pinned sources, and the helper installs and verifies them like the WireGuard tools. Every tunnel has an engine, WireGuard or AmneziaWG, shown under its name. By default it follows the config: if the file contains Jc, Jmin, Jmax, S1–S4, H1–H4 or I1–I5, the tunnel runs on AmneziaWG. A file with those parameters always runs on AmneziaWG, because wg could not read them, and choosing WireGuard for it is refused.

Choosing and checking the engine

  1. 1

    Import or create the tunnel from the .conf your AmneziaWG server gave you.

  2. 2

    Look at the engine under the name: it should say AmneziaWG. If you picked it yourself, "(chosen)" appears.

  3. 3

    To change it, click the engine and pick Automatic (from the config), WireGuard or AmneziaWG. The choice stays with the tunnel and your file is not touched: the app hands the preference to the helper as a comment line in its working copy.

  4. 4

    Connect. If the server stays silent, No Answer From Server appears after 25 seconds of sending with no reply, and for AmneziaWG the message asks you to check that the server uses the same Jc, S1, H1 and the rest.

Limits

The engine can only be chosen on personal tunnels: shared ones use whatever their configuration needs. Updating to 1.1.0 changed the helper's protocol revision, so after the update macOS may ask you to approve the helper again. AmneziaWG arrived with that version, which makes it the part of the app with the least history behind it: if something looks off, open an issue on GitHub with the relevant lines from the Log.

Automation3 min read

Automation: On-Demand rules, Shortcuts and automatic reconnection

A tunnel you have to remember to switch on is one you will forget. There are three layers here: per-network rules, actions from Shortcuts and Siri, and automatic recovery when something changes underneath the tunnel.

WireTunnels menu bar menu with three connected tunnels, four disconnected ones and Stop All, Open Dashboard, Settings and Quit
The menu bar menu: a switch for each tunnel and Stop All. The tunnels in the screenshot are demo data.

On-Demand rules, per tunnel

Every tunnel has two independent halves, a Connect rule and a Disconnect rule. Each picks the interface (Wi-Fi, Ethernet or Ethernet & Wi-Fi) and, for Wi-Fi, a list of network names or Any Wi-Fi Network; for Ethernet, Any Ethernet Network or a list of CIDR subnets. That lets you connect on the office Wi-Fi and switch off on a trusted home network, or bring a tunnel up at the office dock, recognized by subnet, and leave it off at home. The tab shows with a dot whether the rule matches the current network. Rules are also re-evaluated after sleep, when macOS reports no network change.

Shortcuts, Siri and Raycast

The app exposes four actions through App Intents: Connect Tunnel, Disconnect Tunnel, Disconnect All Tunnels and List Connected Tunnels, plus ready-made Siri phrases such as "Connect Office in WireTunnels" or "Disconnect all tunnels in WireTunnels". You find them in Shortcuts without building anything. Raycast reaches them through its command for running a Shortcut, and there is no Raycast-specific code. The catch is that there is no background daemon: an action only works while WireTunnels is running, otherwise the intent answers that the app is still starting.

Automatic recovery

A WireGuard tunnel can die without saying so. WireTunnels handles three causes on its own, restarting only what needs it. Sleep: on wake the interfaces of the active tunnels are recreated and On-Demand rules re-evaluated. DHCP: when a renewal changes the primary interface's local IP, the tunnel's socket stays bound to the old address and the tunnel shows connected while passing nothing; the app notices and restarts it. DDNS: wg-quick resolves the endpoint hostname once, at connect time, so if the server's IP changes the tunnel goes nowhere. About once a minute the app re-resolves the endpoint of every active tunnel and restarts only those whose address changed; an endpoint given as a literal IP never triggers anything.

It all goes through one scheduler that waits for network notifications to settle, evaluates the rules, restarts if needed and evaluates again. Failed automatic attempts do not pop up alerts: they stay in the Log, and the menu bar shows connecting, reconnecting or connection lost with Retry and Details.

A typical On-Demand rule

  1. 1

    Open the tunnel and go to the On-Demand tab.

  2. 2

    In the Connect section switch it on, choose Wi-Fi and add the network names, the office one for example.

  3. 3

    If names do not show up, give WireTunnels the Location permission in System Settings, Privacy & Security, Location Services: the Open Location Settings button takes you there.

  4. 4

    In the Disconnect section say where the tunnel should switch off.

  5. 5

    To start the app at login, or without opening the dashboard, go to Settings > Behavior: Launch at Login and Start in Background.

Limits

A network profile that brings a tunnel up acts once, and the tunnel's own rule can undo it at the next change, so decide in one place only. A multi-hop chain has no automation of its own. Shortcuts and Siri need the app running. Start in Background applies to every launch and not just login, because from inside the app the two cases cannot be told apart, and the administrator requirement for turning off Launch at Login holds inside the app but does not stop anyone removing it in System Settings.

Multiple accounts2 min read

Shared tunnels for every user of the same Mac

On a Mac with several accounts, a studio laptop or a lab machine, the VPN should not depend on who logged in last. A shared tunnel lives at system level and everyone uses it, without the private key ever passing through their hands.

Sharing tab of a shared tunnel listing the Mac's accounts, active sessions and who can change it
The Sharing tab of a shared tunnel: Mac accounts with an active session, who can change it and connect permissions. Accounts and data are demo.

How they are stored

A personal tunnel is private to your account. A shared one is stored once for the whole Mac by the privileged helper, with permissions only root can read: configuration and private key. Standard users see and use the tunnel but never read the key. Sharing a tunnel, or importing it straight in as Visible to All Users, needs an administrator, and the app has to be running from the Applications folder. Sharing is local to that Mac and goes through no network service.

Who can do what

An administrator edits or replaces the configuration, deletes it, sets Split DNS domains, the kill switch and On-Demand rules, and decides with two switches, Allow users to connect and Allow users to disconnect, what everyone else may do. Administrators are never restricted. The helper enforces these permissions itself: since 1.0.8 a standard user cannot disconnect a tunnel an administrator locked, nor replace another user's file, because the checks no longer live only in the interface.

Sharing an existing tunnel

  1. 1

    Disconnect the tunnel: while it is up, sharing is disabled.

  2. 2

    Open the Sharing tab and press Share Tunnel…. The same command, Make Shared, is in the Config tab.

  3. 3

    Confirm with administrator credentials.

  4. 4

    On the shared tunnel, an administrator finds in the same tab the list of the Mac's accounts with their session state, Show Connected Users and the User Access section with the two switches.

Things to keep in mind

Turning a shared tunnel off turns it off for every account using it. The engine (WireGuard or AmneziaWG) cannot be chosen on shared tunnels, and split-tunnel exclusions are for personal ones only. Installed routes are system-wide: one user's exclusion applies to the others too, and if two users installed the same route, removing it from one removes it for both.

"Shared" means between the local accounts of that Mac, not between different machines. After an update that changes the helper protocol, macOS may ask you to approve it again.

Diagnosis2 min read

Network Doctor, Tailscale and NetBird next to your WireGuard tunnels

Sooner or later a tunnel shows as connected and nothing is reachable. Often it is not WireGuard's fault: another VPN holds the default route, one DNS setting covers another, two networks use the same addresses. Network Doctor and Mesh VPNs exist so you can see those things instead of guessing.

WireTunnels Network Doctor screen showing a scan result with no conflicts across other VPNs, routes and DNS
Network Doctor: the scan checks other VPNs, routes and DNS. Here it finds no conflicts; the data is demo.
WireTunnels Mesh VPNs section with Tailscale connected, peers online and an exit node
Mesh VPNs: Tailscale status with peers online, direct or relayed, and exit node. Network and devices are demo.

Network Doctor

The scan reads the routing table, DNS settings and running apps, and looks for three things: competing VPNs (Tailscale, Mullvad, corporate clients and others), overlapping routes or a second catch-all route, and conflicting DNS. It sends no traffic and changes nothing, which is why it cannot show you your public IP. For each problem it says what it saw and what to do. Active probes are separate and optional: they are the same probes as the monitoring and only appear if you turned that on.

Tailscale and NetBird

The Mesh VPNs section shows and controls the Tailscale and NetBird apps already installed: on and off, peers online, which connections are direct and which go through a relay, and the choice of exit node. It does not replace their clients: login, approvals and keys stay in their own app, and WireTunnels only runs their command line, the way you would. A Headscale network is controlled through the Tailscale client. Direct or Relay is what the client itself reports, and WireTunnels cannot force a direct path.

If a WireTunnels tunnel that routes everything is connected and you pick an exit node, the app warns you: both claim the default route, the one connected last usually wins, and Network Doctor shows which.

When something doesn't add up

  1. 1

    Open Warnings: configuration problems and measured degradation are kept apart. Each entry explains what is happening, the evidence and the next step, with a button that opens the right screen.

  2. 2

    Open Network Doctor and press Re-check once your tunnels are connected.

  3. 3

    If there is a second default route, switch off the VPN you do not need or narrow the AllowedIPs of one of the two.

  4. 4

    If the configuration is fine but quality is low, look at the tunnel's Overview.

  5. 5

    Search the Log, which filters by text, level, time range and source: lines close in time are context, not proof of a cause.

What it can't see

Network Doctor looks at this Mac, not at the Internet: a warning, or the lack of one, tells you nothing about the server on the other end. For Tailscale and NetBird it only sees what their command line reports, and when the status cannot be read it says so. It does not change other VPNs' settings. The warnings the app can raise are few and concrete: Multiple Full Tunnels, Overlapping Routes, DNS Conflict, Kill Switch Active, an IPv4 or IPv6 leak and No Answer From Server.

FAQ

What people ask us most

Which macOS versions does WireTunnels run on?

macOS 14 (Sonoma) or later. It is a native Swift app, installed from a signed and notarized .dmg, and it updates itself through Sparkle.

Do I need an administrator password?

On first launch you approve the privileged helper, the component that runs wg-quick with the rights it needs. A few things still need an administrator afterwards: changing DNS and proxy from network profiles, sharing a tunnel with the other users of the Mac, editing a shared tunnel. Run the app from the Applications folder.

Does WireTunnels collect data or ask for an account?

No account and no analytics. Configurations and keys stay on your Mac. The only network request the app makes on its own is the update check against the public appcast, and the optional speed test only uses a URL you pick.

Does the kill switch protect me when the app is closed?

No. The pf rules live as long as WireTunnels is running and are released when you quit, which also disconnects your tunnels. The kill switch covers a tunnel dropping while you use the app, not an app that is closed.

Can I run it next to Tailscale or another VPN?

Yes, but two VPNs that both want all your traffic compete for the default route, and the one that connected last usually wins. Network Doctor shows the conflict, and the Mesh VPNs section turns Tailscale and NetBird on and off without leaving the app.

Is there a Windows or Linux version?

Not yet: WireTunnels is macOS only today. Windows and Linux are in development, with no dates attached. If you want them, the most useful thing you can do is vote in the poll on the product page.

One last thing

Give it a try, and if it helped, lend a hand

The guides stay free and the project stays open. Downloading the app, starring the repo and telling us what to build next are three different ways to help, and all of them are optional.

Download for macOSLatest version: v1.1.0

Signed, notarized .dmg with automatic updates through Sparkle.

A star on the repository

One click, and the project gets found by the next person searching for what you just searched for.

Star it on GitHub48 stars so far

What about Windows or Linux?

Both are in development. A code-signing certificate for Windows costs money and has requirements, and we think a project people follow, stars included, makes the case for it easier. We can't promise timing or thresholds.

What should we build next?

The product page has a poll: a self-hosted server, remote management, more protocols or better Windows support. A vote takes a few seconds.

Vote in the poll

WireTunnels is an independent project under the Apache 2.0 license. WireGuard is a registered trademark of Jason A. Donenfeld.