amnezia-vpn / amnezia-client

Amnezia VPN Client (Desktop+Mobile)
https://amnezia.org
GNU General Public License v3.0
5.79k stars 361 forks source link

app white-list split tunneling mode on desktop #1127

Closed EntityinArray closed 1 month ago

EntityinArray commented 1 month ago

Describe the bug Split tunnelling only provides black-list, a list of apps that get excluded from VPN.

To Reproduce Steps to reproduce the behavior:

  1. Go to Split Tunneling on Desktop
  2. Only black-list is available

Expected behavior User should be able to define both black-list and white-list at the same time, with black-list having bigger priority than white-list

Log files not needed

Screenshots image

Desktop (please complete the following information):

Server (please complete the following information):

llimonix commented 1 month ago

the same mistake image

G7AX commented 1 month ago

same issue on win10

Kadirov-Artem commented 1 month ago

I have the same issue I'd like to add Discord to my whitelist but the only thing I can do is adding applications to the black list

strelokhalfer commented 1 month ago

Also, the blacklist doesn't work properly - selected apps lose access to the internet.

EntityinArray commented 1 month ago

Also, the blacklist doesn't work properly - selected apps lose access to the internet.

you need to disable KillSwitch, it's a wierd feature enabled by default that kills any non-vpned connections image

strelokhalfer commented 1 month ago

you need to disable KillSwitch, it's a wierd feature enabled by default that kills any non-vpned connections

Yeah, found it too, but thanks. Still i consider this as bug.

etozhefifan commented 1 month ago

+1 Also don't have an option to use Amnezia for certain apps. Using linux client on arch.

Redplcs commented 1 month ago

+1 Funny that this feature works on mobile

strelokhalfer commented 1 month ago

It looks like this menu option is disabled on purpose. I switched the mode to whitelist in the registry, but then everything goes through the VPN, ignoring the list. HKEY_CURRENT_USER\Software\AmneziaVPN.ORG\AmneziaVPN\Conf\appsRouteMode set to 1 for whitelist Screenshot 2024-10-08 213328

hahatulk commented 1 month ago

please add whitelist

sx-motive commented 1 month ago

As I understand it, there is currently no feature that allows you to add a separate application to vpn traffic.

For those who are looking for the possibility to add Discord as a separate application, I can suggest using the section "Site-based split tunneling", and add discords cdns there like this:

{D2418E11-2505-4EAF-82BA-22427251CDD9}

make sure you have right mode, before connect:

{1527E784-E63E-4615-98BC-DA2F0445AFCD}

this will make your discord desktop app works through vpn.

hahatulk commented 1 month ago

As I understand it, there is currently no feature that allows you to add a separate application to vpn traffic.

For those who are looking for the possibility to add Discord as a separate application, I can suggest using the section "Site-based split tunneling", and add discords cdns there like this:

{D2418E11-2505-4EAF-82BA-22427251CDD9}

make sure you have right mode, before connect:

{1527E784-E63E-4615-98BC-DA2F0445AFCD}

this will make your discord desktop app works through vpn.

works, but RTC still broken, cant be fixed with current tunneling

Redplcs commented 1 month ago

As I understand it, there is currently no feature that allows you to add a separate application to vpn traffic. For those who are looking for the possibility to add Discord as a separate application, I can suggest using the section "Site-based split tunneling", and add discords cdns there like this: {D2418E11-2505-4EAF-82BA-22427251CDD9} make sure you have right mode, before connect: {1527E784-E63E-4615-98BC-DA2F0445AFCD} this will make your discord desktop app works through vpn.

works, but RTC still broken, cant be fixed with current tunneling

Try those: discord-attachments-uploads-prd.storage.googleapis.com dis.gd discord.co discord.com discord.design discord.dev discord.gg discord.gift discord.gifts discord.media discord.new discord.store discord.tools discordapp.com discordapp.net discordmerch.com discordpartygames.com discord-activities.com discordactivities.com discordsays.com

Got them from random post about reviving discord using GoodbyeDPI. I not guarantee that this would work

EntityinArray commented 1 month ago

As I understand it, there is currently no feature that allows you to add a separate application to vpn traffic.

For those who are looking for the possibility to add Discord as a separate application, I can suggest using the section "Site-based split tunneling", and add discords cdns there like this:

{D2418E11-2505-4EAF-82BA-22427251CDD9}

make sure you have right mode, before connect:

{1527E784-E63E-4615-98BC-DA2F0445AFCD}

this will make your discord desktop app works through vpn.

i use amneziawg and it won't let me do that @sx-motive image

b5414 commented 1 month ago

Official response about this (changing to 1 by regedit):

This setting is not intended and will not work for Windows

Nethius commented 1 month ago

Whitelists for apps is implemented only on android, due to the peculiarities of implementation on windows this mode is not available

EntityinArray commented 1 month ago

For anyone who seeks to make Discord/other specific apps work without forwarding their entire traffic through VPN, I found a suitable app. https://github.com/wiresock/WireSockUI

image image image image

brnor commented 1 month ago

For anyone who seeks to make Discord/other specific apps work without forwarding their entire traffic through VPN, I found a suitable app. https://github.com/wiresock/WireSockUI

How exactly is this supposed to work if Amnezia's configs are full of properties that only their implementation uses?

EntityinArray commented 1 month ago

For anyone who seeks to make Discord/other specific apps work without forwarding their entire traffic through VPN, I found a suitable app. https://github.com/wiresock/WireSockUI

How exactly is this supposed to work if Amnezia's configs are full of properties that only their implementation uses?

i ditched amnezia configs and made regular wireguard configs

BlogPlayCode commented 1 month ago

i ditched amnezia configs and made regular wireguard configs

How can I make my Amnezia's configs to be regular wireguard configs?

DmitriyFrogo commented 1 month ago

@brnor @BlogPlayCode

How exactly is this supposed to work if Amnezia's configs are full of properties that only their implementation uses?

How can I make my Amnezia's configs to be regular wireguard configs?

If your ISP blocks WG connections and it only works with Amnezia, try WireSock + WireSockUI + this method: https://gist.github.com/httpsx/76a98ea28e6f3a4ffc947e768c0b6c01

(If you need to split tunnel. If not - you can use any wireguard client)

drizzle-mizzle commented 1 month ago

Are there any plans to make whilte-list thing work at all, at least in near future?

kindapath commented 1 month ago

@brnor @BlogPlayCode

How exactly is this supposed to work if Amnezia's configs are full of properties that only their implementation uses?

How can I make my Amnezia's configs to be regular wireguard configs?

If your ISP blocks WG connections and it only works with Amnezia, try WireSock + WireSockUI + this method: https://gist.github.com/httpsx/76a98ea28e6f3a4ffc947e768c0b6c01

(If you need to split tunnel. If not - you can use any wireguard client)

thank you, i used this and it works