WireGuard client for macOS doesn't support split tunneling so I made one

8 scottydelta 6 7/17/2025, 7:12:14 PM medium.com ↗

Comments (6)

slau · 1h ago
I’m a bit confused. I’m fairly certain I’m using split tunnelling with macOS on Wireguard, and I’m fairly certain you are doing so as well.

But why are you adding configurations for every website you want to visit to your VPN config? Surely it’s much saner to list the (hopefully static or subnetted) resources in your company, and then let everything else go through your home network?

scottydelta · 1h ago
I am not adding IP of every website I want to visit. I am adding IP of the website that I don't want to traffic through my VPN. It's my private vpn with pihole on it which is always running. Right now you cannot blacklist traffic for ips on wireguard as in not send traffic of an IP via wireguard.

Here is a reddit thread from Wireguard subreddit discussing this problem and please read the comments how split tunneling is not supported: https://www.reddit.com/r/WireGuard/s/0Tdf0P9mNj

slau · 35m ago
That entire thread is full of people saying it works fine and has been for years.

I think maybe you just misunderstand how the wireguard config works.

scottydelta · 27m ago
What you are talking is allowed IPs. How do you disallow IPs

Even this article shows a python script approach so I made mine as a client. https://www.lautenbacher.io/en/lamp-en/wireguard-exclude-a-s...

May be my use of split tunneling terminology is wrong?

iaaan · 1h ago
It's AI slop. Split tunneling is one of the most basic things you can configure in Wireguard.
scottydelta · 1h ago
It's not AI slop, it's 100 percent written by me. I don't think AI can come up with screenshots/gifs and build process etc of my effort. I am very interested in seeing split tunneling on MacOS on wireguard.

Infact you search Google for 'split tunneling on macos in wireguard ', even Google will tell you that it's only supported via terminal and that's what I did:

> While WireGuard itself doesn't inherently offer split tunneling on macOS, it's possible to achieve this functionality through manual configuration or using a third-party VPN client that supports it. Some VPN providers like Mullvad VPN and ExpressVPN include split tunneling features in their macOS apps. Alternatively, you can configure split tunneling manually using macOS Network settings and Terminal commands, though this method is more complex and may not be suitable for all users.