How to Route Specific Websites Through a VPN on Mac (or Around It)

Per-app split tunneling answers "which apps use the VPN?" But often the real question is about websites: your company intranet should go through the VPN while the rest of your browsing doesn't, your bank flags VPN addresses and should see your real connection, or one streaming site buffers in the tunnel. All of those live in the same browser, so an app-level rule can't separate them. Here's how to route traffic by destination on a Mac — the manual way, why it rarely holds up, and the setup that does.

Why your VPN app can’t do this on a Mac

On Windows and Android, several providers let you exclude websites from the tunnel. On macOS almost none do — the same platform gap that removed per-app split tunneling from most Mac VPN clients (see the provider-by-provider rundown). A VPN on macOS typically installs one route that claims all traffic, and the system decides where a connection goes by its IP address, not by the website name you typed.

That second point is the real obstacle. A website is a name; a route is an address. Large sites sit behind content delivery networks whose addresses change constantly and are shared with thousands of other sites, so "route netflix.com" or "route mybank.com" isn't something the macOS routing table can express.

The manual way: static routes in Terminal

If the destination has a fixed, known IP address or range — a company server, a home lab, a self-hosted service — you can add a route by hand. To send a range through the tunnel, find the VPN's interface (usually a utun number, visible with ifconfig) and add a route to it, for example sudo route -n add -net 203.0.113.0/24 -interface utun4. To keep an address off the VPN, route it via your router instead: sudo route -n add -net 198.51.100.7/32 192.168.1.1.

It works for stable addresses, but it's fragile in practice:

  • Routes vanish when the VPN reconnects, the Mac sleeps, or the network changes. You end up re-running commands or writing scripts.
  • Names don't work. Websites on shared CDNs change addresses often; yesterday's route quietly stops matching.
  • Some VPNs override you. Clients that enforce their routes (often as part of a kill switch) send everything into the tunnel regardless of what you add.
  • It's all or nothing per address. A route applies to every app on the Mac — you can't say "this site through the VPN, but only in Safari".

Route a website through (or around) the VPN with AppLanes

AppLanes adds website rules to its per-app lanes. A rule names a domain (with its subdomains, if you like), an IP address or an address range, and sends matching connections through the VPN, Direct over your normal connection, or Blocks them. It matches by the name the app asked for, so it keeps working when the site's addresses change.

  1. Install AppLanes from the Mac App Store and approve its network extension. Connect your VPN as usual — any provider or protocol.
  2. Open Websites & IPs and add a rule. Enter a domain such as intranet.example.com, an address, or a range like 10.20.0.0/16. Leave Include subdomains on to cover www., api. and the rest.
  3. Pick the action: VPN to force the site into the tunnel, Direct to keep it off the VPN, or Block.
  4. Choose who the rule applies to: every app, or only the apps you pick — for example, only your browser.
  5. Open the site. In Activity, click the connection to see which rule routed it.

Setups people actually use

  • Work sites only through the VPN. Set your default lane to Direct, then add VPN rules for your company domains. Everything else stays fast; work traffic stays in the tunnel. Check your employer's policy first — some require all traffic on the VPN.
  • Banking and payments off the VPN. Keep the VPN on for everything, and add a Direct rule for your bank's domain so it sees your normal connection instead of a flagged VPN address.
  • One slow site direct. A video or download site that crawls through the tunnel can go Direct while the rest of your browsing stays protected — see why VPNs slow things down.
  • Block a tracker inside an app you trust. A Block rule scoped to one app cuts off a single analytics domain while the app keeps working — see stopping apps phoning home.

How website rules interact with app lanes

  • Website rules take priority over app lanes. If Safari's lane is VPN but a Direct rule matches mybank.com, that connection goes Direct.
  • They never unblock an app. An app you've set to Block stays blocked, whatever the website rules say.
  • Block wins between rules. If a Block rule matches, it applies; otherwise the first matching rule decides. AppLanes flags rules that overlap with different outcomes.
  • Test before you browse. Diagnostics shows which rule a website would match, and Discover lists where your apps really connect, so you can turn real destinations into rules in a few clicks — or paste a whole list of sites at once.

Caveats worth knowing

  • Browser Secure DNS. Chrome, Firefox and Electron apps often look up names themselves. AppLanes learns those names from the app's own DNS lookups, but if the browser uses encrypted Secure DNS (DNS over HTTPS), the name is hidden — Activity then shows "Website unknown". Turn Secure DNS off in that browser, or add an IP rule.
  • Redirects. If a site redirects to another domain (hotmail.com to live.com, say), add a rule for the domain you land on too.
  • QUIC and video calls on older macOS. Website rules for UDP traffic — HTTP/3 (QUIC) and many calling apps — need macOS 15 or later. On macOS 13–14 domain rules apply to TCP only; an IP rule covers UDP there.
  • "What is my IP" sites can mislead. Some report the location of your DNS resolver rather than your connection. Activity shows the real route per connection.

Frequently asked questions

Can I route only certain websites through a VPN on Mac?

Yes. Set AppLanes' default lane to Direct, then add VPN rules for the domains you want tunneled. Everything else uses your normal connection. Rules can apply to every app or only the apps you choose.

How do I exclude a website from my VPN on Mac?

Add a Direct website rule for that domain in AppLanes. Connections to it — and its subdomains, if you include them — bypass the VPN while everything else stays in the tunnel. No changes to your VPN app are needed.

Does this work with NordVPN, ExpressVPN, Proton VPN and WireGuard?

It works with any VPN that creates a standard tunnel on macOS, including provider apps and WireGuard or OpenVPN clients. The exception is a VPN that forces every connection into its tunnel, usually as part of a strict kill switch — turn that mode off for Direct rules to work.

Can I use wildcards like *.example.com?

Not as a wildcard — turn on Include subdomains instead. A rule for example.com with subdomains included covers www.example.com, api.example.com and every other subdomain.

Get per-app VPN routing on your Mac

Every feature unlocked for 3 days, free — no account, works with any VPN, macOS 13+.

Keep reading