@mullvadnet

I run #Mullvad #VPN under desktop linux. I need to make the VPN start automatically in the split tunnel mode, excluding all processes except for few predefined applications (Mullvad Browser first of all).

How can I achieve? mullvad.net/pl/help/how-use-mu… shows only ways to exclide / include specific pid. There is no wildcard code, nor there is a way to add an app before it is starts.

Please advise.
Follow

@8petros @mullvadnet

Are you familiar with network namespaces in general? I think the simplest way to do such things is to have a netns that routes through the tunnel and run everything you want to use the tunnel there.

@8petros @mullvadnet

What distribution are you using and does it use systemd?

@8petros @mullvadnet

Hm~, it seems that I've used github.com/chutz/mullvad-netns in the past instead of systemd-based netns creation (I don't really recall much about it apart from not having difficulties setting it up).

Now that I've looked for related tooling, I've noticed that github.com/jamesmcm/vopono exists. However, I've first heard of it right now, so I have no opinion even on whether it actually works.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.