Jump to content
TorGuard
  • 0

How do I route only specific app/apps (like Spotify) through the VPN service on Ubuntu 21.04?

Rate this question


spectre95
 Share

Question

I want to use Spotify from a particular country but do not want my regular browser traffic to go through that country. How do I go about doing it on Ubuntu 21.04?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

If you are using OpenVPN you have to add static routes and look into "Routing Policy"

If you are using WireGuard you have to implement a namespace configuration and spawn the process from within the namespace.

From Reddit: 

 

See Wireguard's Docs:

https://www.wireguard.com/netns/#the-new-namespace-solution

 

See this post:

https://try.popho.be/vpn-netns.html

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...