Discord got banned where I live. I’m trying to find a way to route Discord to a specific proxy, or in other words warpring it around a VPN. I do not want to run a VPN system wide as this will significantly decrease internet speed, and also could affect connectivity in many games. Anyone has an effective way to do this? I’m running Bazzite on my system, and I use Vesktop as the Discord client, which is a flatpak. Any help is appreciated

  • wth@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    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.

  • trillian@feddit.org
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    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.

  • thetaT [none/use name]@hexbear.net
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    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