# Split tunneling won't work

**URL:** <https://forum.pritunl.com/t/split-tunneling-wont-work/3374>\
**Category:** Pritunl\
**Created:** [June 12, 2025, 9:27am UTC](https://forum.pritunl.com/t/split-tunneling-wont-work/3374 "2025-06-12T09:27:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lisa17](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/l/e19adc/32.png) [@Lisa17](https://forum.pritunl.com/u/Lisa17)\
**Post date:** [June 12, 2025, 9:27am UTC](https://forum.pritunl.com/t/split-tunneling-wont-work/3374/1 "2025-06-12T09:27:45Z")

</div>

I have a **Pritunl VPN server configured with split tunneling** (i.e., no default `0.0.0.0/0` route). I’ve added **specific routes** to access certain services through the VPN, but I **can’t reach those services** even when the VPN is active.

Additionally, the VPN uses **SSO/MFA authentication via a Google account** , which works initially, but the **connection automatically drops after a while** , even though no manual disconnection is performed.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [June 12, 2025, 7:42pm UTC](https://forum.pritunl.com/t/split-tunneling-wont-work/3374/2 "2025-06-12T19:42:45Z")

</div>

Verify NAT is enabled for the additional routes. If it isn’t working it’s likely a firewall issue.

Check the logs in the top right of the web console for authentication errors.

---

<div class="post-metadata">

**Author:** ![Lisa17](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/l/e19adc/32.png) [@Lisa17](https://forum.pritunl.com/u/Lisa17)\
**Post date:** [June 23, 2025, 9:02am UTC](https://forum.pritunl.com/t/split-tunneling-wont-work/3374/3 "2025-06-23T09:02:06Z")

</div>

Thank you for the reply, could you also help me about a problem I have the MAC devices. When I import a user profile from the same server (with SSO enabled) on both a Mac and a Windows machine, the Mac connects successfully but has no internet access while the Windows is fully functional. What could be the reason for this?

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [June 23, 2025, 8:17pm UTC](https://forum.pritunl.com/t/split-tunneling-wont-work/3374/4 "2025-06-23T20:17:49Z")

</div>

That is most often caused by DNS issues. Ping IP addresses and test DNS lookups to verify if it is only an issue with DNS. macOS only supports one DNS server. Verify the first DNS server in the Pritunl server settings is correct. Enabling VPN client DNS mapping will fix most DNS issues. In some cases the DNS server needs to be added to the server routes.

---

<div class="post-metadata">

**Author:** ![Lisa17](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/l/e19adc/32.png) [@Lisa17](https://forum.pritunl.com/u/Lisa17)\
**Post date:** [June 24, 2025, 9:19am UTC](https://forum.pritunl.com/t/split-tunneling-wont-work/3374/5 "2025-06-24T09:19:49Z")

</div>

I have configured a Pritunl server with split-tunneling enabled, and the VPN network is `172.16.10.0/24`. When I connect from my Mac, the VPN successfully assigns an IP from this subnet.

I verified the DNS resolvers using: scutil --dns

The output confirms that the first resolver is `172.16.10.1` (VPN), and the second one is `192.168.1.1` (Wi-Fi gateway). So DNS settings seem to be applied in the correct order.

However, DNS queries do not work properly when routed through the VPN:  
Tests performed:

- **Traceroute to a VPN-routed IP (40.89.131.210)**:
  - First hop: `172.16.10.1` (VPN gateway)
  - Then: no response

- **Traceroute to a public IP (8.8.8.8)**:
  - First hop: `192.168.1.1` (Wi-Fi)
  - Then: `192.168.10.254` (LAN router)
  - This route proceeds as expected, outside the tunnel

- **DNS tests using `nslookup`** (while connected to VPN):
  - `nslookup gitlab.devil.ninja` → `172.16.10.1`: **SERVFAIL**
  - `nslookup 40.89.131.210` → `172.16.10.1`: **SERVFAIL**
  - `nslookup 8.8.8.8` → `172.16.10.1`: **SERVFAIL**

So even public DNS resolution via the VPN DNS (`172.16.10.1`) fails with SERVFAIL errors. This suggests that the DNS traffic is being routed correctly to the VPN DNS server, but either the server does not respond, or the Mac is blocking/invalidating the replies.

So is there any specific configuration required on macOS to support DNS resolution properly with split-tunneling? For example, do I need to manually adjust resolver order, routes, or override system DNS behavior?

Should I configure anything additional on the server-side to ensure that the DNS server at `172.16.10.1` responds correctly to VPN clients in split mode?

Do you have recommended practices for ensuring DNS resolution works on macOS in split-tunnel mode using Pritunl?

PS: I precise that Restrict Routing is activated on the server.

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [June 24, 2025, 5:52pm UTC](https://forum.pritunl.com/t/split-tunneling-wont-work/3374/6 "2025-06-24T17:52:06Z")

</div>

Run `sudo netstat -tulpn` on the server and verify the `pritunl-dns` process is running. If it’s Ubuntu or a distro using systemd-resolved the following needs to be added to `sudo nano /etc/systemd/resolved.conf`

```auto
[Resolve]
DNSStubListener=no

```

Then run `sudo systemctl restart systemd-resolved` and restart the Pritunl server.

The Windows system is likely falling back to the secondary DNS, only one DNS server is used on macOS.
