Your own VPN server · WireGuard, Outline, AmneziaWG · 6 cities · Pay in BTC, USDT, USDC, ETH, SOL, LTC, XMR
Language: English
Get a VPN server

Device guide · macOS

How do I set up WireGuard on a Mac?

The WireGuard app from the Mac App Store, a tunnel file copied from the TunnelVPS server, and the on-demand rules that switch it on by network.

Last updated: · 4 min read

Quick answer

How do I set up WireGuard on a Mac?

Install WireGuard from the Mac App Store, as wireguard.com lists it, copy the Mac's .conf file from the TunnelVPS server with scp, and import it. macOS asks once to add the VPN configuration. On-demand rules can bring the tunnel up on any Wi-Fi but the home one. Setup takes 5 steps.

In brief
  • App: WireGuard from the Mac App Store.
  • Configuration: a .conf file copied with scp from Terminal.
  • On demand: rules by Wi-Fi network or Ethernet.
  • Alternatives: Outline and AmneziaVPN have macOS apps.

What are the steps on a Mac?

WireGuard setup on macOS against a TunnelVPS server, 5 steps
StepWhereWhat to do
1TunnelVPS serverAdd a [Peer] for the Mac and write its client file.
2TerminalCopy the file with scp.
3Mac App StoreInstall WireGuard.
4WireGuard appImport the tunnel from the file.
5macOS promptAllow the VPN configuration, then activate.

How do I copy the tunnel file to the Mac?

Use scp in Terminal with the same SSH key that opens the server. macOS ships with the OpenSSH client, so nothing extra is needed. The file lands in the Downloads folder; delete it there after the import, since it holds the Mac's private key.

Copy the Mac's client file from the server (Terminal)
scp [email protected]:/etc/wireguard/clients/mac.conf ~/Downloads/mac.conf

How do I import and switch on the tunnel?

Open WireGuard, import the tunnel from the file, allow the VPN configuration when macOS asks, then activate. The tunnel then also appears in the menu bar and in the VPN section of System Settings. The app shows the latest handshake and the bytes sent and received, which confirm the tunnel works.

Can the Mac switch the tunnel on by itself?

Yes: on-demand rules bring the tunnel up on chosen Wi-Fi networks or on Ethernet. A laptop that travels can keep the tunnel off at home and on everywhere else. The rules sit in the tunnel's settings inside the app; wording may differ between app versions.

Is there a command-line option for advanced users?

Yes: Homebrew users can install wireguard-tools and run wg-quick, the same tool as on the server. That suits a Mac used as a development machine, or scripts that bring tunnels up and down. Most users are better served by the App Store app, which handles the system VPN settings. The WireGuard VPS page covers the server side in more depth.

Which other VPN apps run on macOS?

TunnelVPS read the WireGuard, Outline and Amnezia pages on 16 November 2026: Outline and AmneziaVPN both list a macOS app, and Outline Manager, the tool that sets up an Outline server, also runs on macOS. Each app talks to the same TunnelVPS server, so one server can serve WireGuard to most devices and a second protocol to the one that needs it. The Outline VPS page and the AmneziaWG VPS page explain how each is installed on the server side.

Which TunnelVPS plan suits a Mac user?

Solo ($2.25 a month on 12 months) covers a Mac and an iPhone; Duo ($5.25) adds room for Outline next to WireGuard. Every plan has one IPv4 address, an IPv6 /64 and a monthly traffic allowance, and costs the same in all six cities. Solo, Duo and Home start at 3 months. The pricing page shows each rental length, and the traffic guide estimates a month of use by device.

Mac questions

Does WireGuard run on Apple silicon Macs?

The Mac App Store app is the client wireguard.com lists for macOS; it installs on current Macs like any App Store app.

Can the Mac and the iPhone share one configuration?

They should not. Give each device its own key pair and tunnel address, so either can be removed alone.

Does the tunnel survive sleep?

WireGuard re-establishes the session after the Mac wakes, usually within seconds of the first packet.

How do I check that the Mac uses the tunnel?

With the tunnel active, open any page that shows the public IP address: it should match the server address in the TunnelVPS dashboard. The app also shows a recent handshake time.

Can a Mac use Outline instead?

Yes. Outline has a macOS client, and Outline Manager for macOS sets up the server.

Verdict
  • The Mac App Store app with on-demand rules fits a laptop that moves between home and public networks.
  • wireguard-tools from Homebrew suits users who script their tunnels.
Sources (4)
  1. WireGuard: installation and client apps — WireGuard (read 2026-11-16)
  2. WireGuard: quick start (keys, peers) — WireGuard (read 2026-11-16)
  3. Outline: get started — Outline Foundation (read 2026-11-16)
  4. AmneziaVPN client: platforms and protocols — Amnezia (read 2026-11-16)

Get the server first

Solo covers a Mac and a phone with 2 TB a month, at $2.25 a month on 12 months.

From $2.25/mo on 12 months · no KYC

Get a server