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.
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.


So then it’s even more stupid than I thought (but I’m happy for caster semenya and everyone in a similar situation)


So does anyone know what this means in practice? In many sports it used to be based on testosterone levels which means trans women can compete. If it’s now based on gender assigned at birth that’s a bit BS as men with highly elevated testosterone levels that have been assigned gender woman at birth (for whatever medical reasons) can then compete in women’s sport. While I think that any rule is unfair as sports inherently is unfair this seems to be completely unreasonable.
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.interfaceNamespaceyou 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/…