The official WireGuard app for macOS only allows one active tunnel at a time. This guide shows you how to use WireGuardStatusbar, a menubar app that supports multiple simultaneous tunnels.
- macOS computer
- Existing WireGuard configurations (from your WireGuard app)
- About 15 minutes
Open Terminal (press Cmd + Space, type "Terminal", press Enter) and paste:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Follow the on-screen instructions. When finished, close and reopen Terminal.
In Terminal, run:
brew install wireguard-tools- Open the WireGuard app
- For each tunnel you want to use:
- Right-click on the tunnel name
- Select Export Tunnel to Zip File...
- Save it somewhere you can find it (e.g., Desktop)
- Unzip each file - you'll get
.conffiles
Create the WireGuard config folder:
sudo mkdir -p /opt/homebrew/etc/wireguardMove your .conf files to this folder. In Terminal:
sudo cp ~/Desktop/your-tunnel.conf /opt/homebrew/etc/wireguard/Or use Finder:
- Press
Cmd + Shift + G - Type
/opt/homebrew/etc/wireguardand press Enter - Drag your
.conffiles here (you'll need to enter your password)
Important: Rename your files to simple names without spaces, for example:
work-vpn.confhome-server.conf
In Terminal, run:
sudo chmod 600 /opt/homebrew/etc/wireguard/*.conf- Go to: https://github.com/aequitas/macos-menubar-wireguard/releases
- Download the latest
.zipfile (e.g.,WireGuardStatusbar.app.zip) - Unzip the downloaded file
- Drag WireGuardStatusbar.app to your Applications folder
- Open WireGuardStatusbar from Applications
- If you see a security warning, go to System Settings → Privacy & Security and click Open Anyway
Once WireGuardStatusbar is running, you'll see a small icon in your menubar (top-right of your screen).
- Click the WireGuardStatusbar icon in the menubar
- You'll see a list of all your tunnels
- Click on a tunnel name to toggle it on/off
- A checkmark (✓) indicates the tunnel is active
Simply click on each tunnel you want to activate. Unlike the official app, you can have multiple tunnels running at the same time!
- Click the WireGuardStatusbar icon
- Enable Launch at Login so the app starts automatically
- You'll be asked for your Mac password when activating tunnels - this is normal
- Deactivate all tunnels in the WireGuard app first before using WireGuardStatusbar
- You can keep the WireGuard app installed, just don't activate tunnels there
- The menubar icon changes appearance when tunnels are active
Make sure your .conf files are in /opt/homebrew/etc/wireguard/. Check with:
ls /opt/homebrew/etc/wireguard/Make sure the config files have correct permissions:
sudo chmod 600 /opt/homebrew/etc/wireguard/*.conf- Check if you have a tunnel active in the official WireGuard app. Deactivate it first.
- Try starting the tunnel manually in Terminal to see the error:
sudo wg-quick up work-vpn
Go to System Settings → Privacy & Security, scroll down and click Open Anyway next to the WireGuardStatusbar message.
Open Terminal and run:
sudo wg showIf you prefer using Terminal, you can also control tunnels directly:
| Action | Command |
|---|---|
| Start tunnel | sudo wg-quick up tunnel-name |
| Stop tunnel | sudo wg-quick down tunnel-name |
| Check status | sudo wg show |
Replace tunnel-name with your config file name (without .conf).
Links:
- WireGuardStatusbar: https://github.com/aequitas/macos-menubar-wireguard
- WireGuard: https://www.wireguard.com/