Some VPNs allow you to select apps that are affected or not (proton does). That might allow you to route discord only via a chosen country.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Not the Linux version unfortunately
It does (not sure how well), but it seems to be a paid feature. Found under Settings -> Split tunneling.
I don't see it, care to elaborate?
I found it in the settings:
Under "Features":
Thanks, I need to have another look then.
Did you look into network namespaces? With these you should be able to dedicate a namespace for the VPN adapter and then move discord into it, at least with wireguard it works flawlessly.
Do you have any tool to help with that? Ive set this up in the past, but it was pretty hands-on namespacing to get it to work rootless.
Edit: For completeness, here is a script similar to what I use.
I am not sure if this is helpful but I just created a systemd unit that sets up the network namespace in the background. Then, as I use nixos, I add the wireguard VPN to nix and with networking.wireguard.interface.name.interfaceNamespace
you can then move it into the container. For running applications I cannot really comment because I have only one service making use of the VPN which runs inside a NixOS container for which the namespace can be configured with --network-namespace-path=/run/netns/…
Could you run Tor and use the discord web browser version?
If all else fails, I'll probably end up doing just that, running discord inside a browser with a VPN extension
Try oniux for that, exactly what you need
Otherwise look into oniux and how to replace arti with wireguare/shadowsocks/xray/amneziawg
you can use nftables or ip route
to route discord's IP addresses through a different interface like a VPN, alternatively you could launch discord with proxychains, there's many ways to do it
https://www.procustodibus.com/blog/2023/04/wireguard-netns-for-specific-apps/
https://volatilesystems.org/wireguard-in-a-separate-linux-network-namespace.html
https://github.com/dadevel/wg-netns
https://www.ismailzai.com/blog/creating-wireguard-jails-with-linux-network-namespace
On NixOS:
https://vtimofeenko.com/posts/wireguard-namespace-flake/
One of these should work
i usually run wireproxy with cloudflare warp (wgcf) for this purpose
zapret might also work
Might want to look into split tunneling.
Try zapret, find settings that work for you on it.