MatsuriDayo / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
https://matsuridayo.github.io/
GNU General Public License v3.0
12.92k stars 1.21k forks source link

BUG: Tune "Whitelist mode" not working #1459

Open IvanNovCode opened 1 day ago

IvanNovCode commented 1 day ago

When "Whitelist mode" checkbox in checked in Tun settings, "Proxy process name" list is just completely ignored and all traffic just goes through VPN. Blacklist mode works correctly. I tried v4.0-beta4, v4.0-beta3 and 3.26 (all three versions with sing-box core) and all three versions have this error. The solution from here doesn't work.

Expected behavior: Only processes from white list go through VPN.

Actual behavior: All processes go through VPN.

How to reproduce

image image

erius0 commented 13 hours ago

What OS are you using? Have you tried reinstalling the program? Could you have set global custom routes and forgot about it? Go to Routing Settings -> Common -> Custom Route (global) and show the contents. Check the neko.log file - if the traffic is going through the bypass outbound, then the problem lies somewhere else. Try deleting all routing settings expect the TUN whitelist settings and see if something changes.

Какую ОС ты используешь? Пробовал переустановить софт? Может ты задал кастомные глобальные маршруты и забыл про них? Зайди в Настройки маршрутов -> Общие -> Кастомные маршурты (global) и покажи содержимое. Посмотри файл neko.log - если трафик идет через bypass outbound, то скорее всего проблема в чем-то другом. Попробуй удалить все настройки маршрутов, кроме настроек белого списка TUN и проверь, будут ли какие-либо изменения.