mullvad / mullvadvpn-app

The Mullvad VPN client app for desktop and mobile
https://mullvad.net/
GNU General Public License v3.0
4.88k stars 335 forks source link

App can't connect to internet if it is enabled in MacOS Split Tunneling #6417

Open neilroy1998 opened 2 months ago

neilroy1998 commented 2 months ago

Is it a bug?

I have checked if others have reported this already

Current Behavior

Say for example, I add Spotify or App Store to Mullvad Desktop Split Tunneling (tried with both dmg and brew versions), it can not connect to the internet any more. On my MacBook Air M1 16GB.

Expected Behavior

It should be able to connect to internet and work as normal, only not through the VPN servers.

Steps to Reproduce

  1. Open the mullvad app
  2. Go to settings > Split Tunneling
  3. Add the apps, and then open them
  4. The apps will no longer work. Like the App Store won't show anything, just time out saying "Retry"

Failure Logs

No response

Operating system version

macOS Sonoma 14.3.1

Mullvad VPN app version

2024.4-beta1

Additional Information

No response

bedesv commented 2 months ago

It sounds like this might be a slightly different issue but I had to enable full disk access (System Settings -> Privacy and Security -> Full Disk Access) for the Mullvad app to get split tunneling to work.

MarkusPettersson98 commented 1 month ago

Hello, thanks for trying out the beta!

As @bedesv said, the Mullvad app has to be granted full disk access for split tunneling to work. Could you try that? :blush:

You should see a small popup/warning in the main view while trying to connect to the VPN if split tunneling is enabled but the app has not been granted full disk access yet. The popup contains a link to instructions on how to do this. Hope this helps!

evanheckert commented 1 month ago

I'm trying tunneling for Messages since it can't connect while VPN is on on MacOS 15.0 b1/2/3/4. I've got full disk access enabled, but Messages still cannot connect when VPN is on. As soon as I "disconnect" my messages go through.

bedesv commented 1 month ago

@evanheckert that sounds like the problem I mentioned on #4781

FIying-Scotsman commented 2 weeks ago

Not to nerco this issue but having the exact same issue - seems like split tunnelling isn't working on macOS.

Mullvad has full disk access (had an issue getting this enabled - discussed in another issue I made); setting is enabled in Mullvad's app and apps added to the Split Tunnelling list but apps like Stocks, News and Messages still don't work while connected to any of Mullvad's servers.

Once disconnected - it all works. Reconnect and everything fails to load/behaves as if there's no internet connection.

I've also reset the app's settings via the CLI but no change unfortunately. This behaviour is the same as not having Split Tunnelling enabled and being on the VPN, which leads me to believe the traffic is still being routed via the VPN when it shouldn't be.