Everything, page by page.
WholeGuard for macOS has thirteen pages and one command palette. This is what each of them does — written the way the app is organized, so it doubles as a map. The router edition has its own page.
Routing you can read.
A rule is one line: a match type, a value, and the policy it goes to. WholeGuard evaluates them top to bottom and shows you what each line has actually caught.
Fourteen match types
DOMAIN, DOMAIN-SUFFIX, DOMAIN-KEYWORD, DOMAIN-REGEX, IP-CIDR (IPv4 and IPv6, with no-resolve), GEOIP, GEOSITE, DST-PORT, SRC-PORT, SRC-IP-CIDR, NETWORK, RULE-SET, AND/OR/NOT compounds, and FINAL.
Rule sets by URL
Subscribe to a hosted list of match conditions and point it at one policy. Browse the list read-only, search inside it, and add override rules above it.
Order, drag, and shadow detection
Drag rows to reorder. Rules that can never match because an earlier line catches everything first are labelled with the line that blocks them.
Hit counts and filters
Every rule shows how many connections it has matched. Filter by source or target policy, sort by match order or by hits, search by value.
Source mode
Edit the rule section as text with line numbers and syntax highlighting. A checker names the offending line and blocks apply until it's fixed. ⌘S applies, ⌘/ comments.
Rule test ⌘T
Type a domain or IP and see which line catches it, which policy group it enters, and which node it would exit through — before any traffic is sent.
Bulk edit
Select many rules and change their policy, enable, disable, or delete them at once. Space switches the highlighted rule off and on.
Fourteen row actions
Edit, change policy, enable or disable, insert above, duplicate below, move to top/up/down/bottom, copy as text, locate in source, filter matching requests, test a domain against it, delete.
Choosing the exit.
Rules send traffic to a policy group; the group decides which node actually carries it. Five selection modes, explained in the app in one sentence each.
Manual
The node you click is the exit. WholeGuard never changes it behind your back.
Auto-test
Latency is measured on a schedule and the fastest node is used. Clicking a node takes over temporarily; ⌥-click locks it.
Latency-first with tolerance
Switches only when the current node gets noticeably worse, so video calls and long connections aren't bounced between nodes over a few milliseconds.
Fallback
Members are used in order: the first healthy one carries the traffic, and when it fails the next one takes over automatically.
Load balance
New connections are spread round-robin across the healthy members.
Group detail
Type badge, parameters in monospace, member nodes as a list or as cards, per-group latency test, set as default, duplicate.
Live rate per group
The Overview shows each group's current throughput and the node carrying it, so you can see which group is busy and where it's going.
Built-in policies
DIRECT and REJECT are always available as targets, alongside your own groups and individual nodes.
Your servers, one table.
WholeGuard is the client; the servers are yours. Endpoints, credentials and node lists belong to you — the app never ships with any.
Add a server as a form
Address, port, credentials and transport options, each with a sensible default and inline validation. HTTP, HTTPS and SOCKS5 servers and encrypted TCP, UDP and QUIC connections are all configured the same way.
Transports compose
TLS, WebSocket, HTTP/2 and gRPC-style transports stack under a connection as a form, not a fork. TCP and UDP are supported throughout, including multi-target UDP where the connection allows.
Remote node lists
Import a hosted list by URL. See node count, last update and an auto-update switch; disabling a list greys out its nodes without deleting them.
Latency, load and UDP
Each node shows its region, type, latency with a colored dot, load percentage, whether UDP is available, its source, and whether it is currently in use.
Import from what you have
Existing configuration files in YAML, JSON and .conf form — including groups, rules, rewrite modules and rule-set providers.
List or cards
Default is a dense list; switch to cards when you have a handful of nodes and want to see them at a glance. Right-click to test, copy, edit or delete.
Exclusive profiles, stackable modules.
A profile is the whole configuration and only one is active. A module is a partial .conf that layers on top; several can be on at once and each can be switched off as a unit.
Four ways to add a profile
Hosted link, local file (drag and drop), pasted text, or a blank template. Scheduled updates with retry, automatic backup before each update, and local overrides preserved.
What's in effect
A card lists nodes, groups, rules, DNS entries and modules with counts, and shows the merged total — 38 + 4 = 42 rules — so the arithmetic is traceable.
Module badges
Every module wears badges for the sections it injects: R rules, W URL rewrite, H headers, B body, L map local, S script, M decrypt, D DNS, G groups, P panel. Click one to jump to that section.
Local overrides
Patch a remote module line by line without forking it. Overrides survive updates and can be reverted individually or all at once.
Scripts and schedules
Modules can carry cron-scheduled scripts. See next run, last result and duration, run now, read the run log, or change the schedule.
Conflicts and removal
Overlapping modules are flagged with the reason. Removing a module tells you exactly how many lines it will take with it and never edits your profile.
Every connection, with its reasons.
The request table is where routing and debugging meet: each row shows the rule that matched, the policy, the exit, the status, and the timing.
Grouping tree
Group by app → domain → path, by domain → path, or — when the gateway is on — by device → domain → path. Expanding never changes the filter; clicking does.
Columns that matter
Method, host, path, policy, status, size, time. Slow requests and large responses are highlighted in the row. Compact (30 px) or comfortable (38 px) rows.
Detail panel
Drag it between 150 and 660 px. Request and response side by side with Info, Headers, Query, Body, Cookies, Hex and Raw tabs; add JSON, HTML, XML, image, form or web viewers.
Routing breadcrumb and timing
Request side: matched rule › policy group › exit node. Response side: total time, body size, content type, origin, and a stacked timeline of DNS, connect, TLS, wait and download.
Row actions
Replay, edit-and-replay, copy as cURL, add a rule from this host, add a rewrite, add a breakpoint, export or delete in bulk.
HAR in and out
Save a session as .har with ⌘S, open one with ⌘O. Timeline view shows the same data as waterfalls.
Six ways to intervene.
Each is a table of rows with its own switch, scoped to a host or global. Nothing is hidden in a preferences pane.
Rewrite
URL rewrite (redirect or transparent), header rewrite, body rewrite, map local (serve a file from disk) and map remote (send the request to another host, keeping the path with $1).
Breakpoints
Pause before the request leaves or before the response returns. Edit any part, then continue, abort, or replay.
Mock
Return a status code, add latency, apply a 3G/4G/lossy throttle profile, or block outright — per pattern.
Scripts
JavaScript on request, on response, or on a timer. Editor with line numbers, syntax check, ⌘S apply, ⌘/ comment, Tab indent, and a dry run against a captured request or the clock.
Throttle
Bandwidth and latency presets applied to matching hosts, so you can test the slow path without leaving your desk.
Decrypt (MITM), opt-in per host
Generate a root certificate, trust it in your keychain yourself, and list the hostnames you want decrypted. Everything else stays opaque, always.
What happened, and when.
Two pages for looking back: usage over time, and the kernel's own account of events.
Traffic by day, week, month
Change the range and everything follows — bar count, axis, per-group distribution, per-node usage and the Top-N lists are recomputed, not just the headline number.
Stacked or split bars
Click a bar to filter that period. See which policy group and which node moved the bytes.
Log levels and modules
Filter by level with counts, by module, by text. Live tail with pause-and-buffer, auto-scroll, and export. INFO is neutral grey; WARN and ERROR carry a colored edge.
Log detail
Click a line for the full message with millisecond timestamp, module, connection ID and profile — then jump to that domain in Requests or filter to that module.
Recent events on the Overview
The last few things worth knowing — a node timed out, a config line was ignored, a device wants to join — each linking to the page that fixes it.
Module panels
Modules can publish a small status panel to the Overview: a title, a status line, a few key–value rows with state dots, and an action.
Resolution you can audit.
Two views: Records, for what was resolved and how; Settings, for how resolution should behave.
One table for cache and failures
Domain, answer, count, source (cache, query, timeout, no record), TTL, latency, time. Failures in red with a retry button. Newest first, no separate tabs.
Resolver comparison
Pick a domain and every configured server is asked. Same answers, different latencies — or different answers, which the app explains may be poisoning or a CDN answering by region.
Servers
DoH, DoT and UDP resolvers in a drag-ordered list. Concurrent querying by default: ask all, take the fastest. Per-server latency test.
Behavior
DoH through the selected policy, remote resolution, IPv6, SNI sniffing, fallback when all fail (direct, reject, or system DNS), TTL policy, disk cache, and EDNS client subnet. Non-recommended values are labelled and can be reset together.
Split DNS, forced local, hosts
Send chosen domains to chosen servers; force real-IP resolution for *.lan, *.local and game servers; maintain a hosts table.
Local DNS server
One switch, one address to paste into other devices, and a copy button.
Share the rules with the room.
Your Mac becomes the gateway for the LAN. One main rule set, with per-device overrides compiled into ordinary rules. For a gateway that is always on and needs no settings on the devices, see the router edition.
Listeners
The HTTP and SOCKS5 ports (1087 and 1080 by default) open to the LAN, with the address shown ready to copy. Optional approval before a new device may connect.
Device table
Name and type icon, IP, exit policy, live down/up, today's total, decryption switch, actions. Double-click for the device page.
Device pages
Live rates, today's total and active sessions; a 24-hour chart and top domains; the device's own rules with their generated SRC-IP text; exit policy, network access, per-device switches, MAC binding.
The rule model
Device default policy becomes SRC-IP,<ip>,<policy> at the end of the list. Device-specific rules become AND,((SRC-IP,<ip>),(…)),<policy> ahead of the general rules. Order: device rules → main rules → device default.
MAC binding
Bind a device to its hardware address and its rules follow it when DHCP hands out a new IP.
Exit policy picker
Direct · follow rules · a policy group (chosen by the group) · a fixed node (with latency), grouped and described in the dropdown itself.
Permissions, appearance, and the palette.
What the system needs from you is listed with the exact path in System Settings. What you want from the app is a few switches.
System permissions
Network extension, root certificate trust, TUN interface and the background helper — each with status, the System Settings path to fix it, and a button. A yellow dot on the sidebar item when something needs you.
Diagnostics
Re-run the first-launch guide, export a diagnostics bundle for support, or reset all permissions.
Appearance
Ten palettes with live previews; light, dark, or follow the system; compact or comfortable density; English or 简体中文, following the system by default.
Command palette ⌘K
Pages, modes, the first twelve nodes with latency, every policy group, and actions — new rule, add node, add module, update node lists, flush DNS, clear capture, reload config, toggle appearance. Fuzzy matched on name, note and group.
First launch in four steps
Welcome → permissions → certificate (optional) → configuration, with three ways to start: paste a link, drop a file, or build a minimal config.
Menu bar
Connection state, mode switch, current exit, and rates from the menu bar without opening the window.
Made for hands that stay on the keys.
Every context menu item has a shortcut listed next to it. These are the ones you'll use daily.
| Shortcut | Action |
|---|---|
| ⌘K | Command palette |
| ⌃⌘K | Connect / disconnect |
| ⌘1 … ⌘9 | Jump to the first nine pages |
| ⌘N | New item on the current page: rule, node, policy group, module or profile |
| ⌘T | Rule test |
| ⌘S | Apply source · Save session as .har |
| ⌘O | Open .har |
| ⌘R | Replay the selected request (Requests) · Reload configuration (everywhere else) |
| ⇧⌘R | Edit and replay |
| ⌘/ | Comment the current line in source mode |
| Space | Switch the selected rule off or on |
| ⌥↑ · ⌥↓ | Move rule to top / bottom |
| ⌫ | Delete |
| ⌘⌫ | Clear the current list (Requests, Logs, DNS) |
| ⌘, | Settings |
| Esc | Close any overlay |
See it with your own traffic.
14-day trial, every feature, no card. macOS 14 or later.