Mahdi-zarei / nekoray

Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
GNU General Public License v3.0
398 stars 26 forks source link

[Feature Request] TUN for process (like in original nekoray) #164

Open Keduber opened 5 hours ago

Keduber commented 5 hours ago

It will be great if your will leave TUN settings so users could set their software to use or not to use TUN

Mahdi-zarei commented 4 hours ago

you can use a routing rule to only allow certain processes to use the Tun.

Keduber commented 4 hours ago

you can use a routing rule to only allow certain processes to use the Tun.

can you help me how it will look like? I need to set some processes to direct. with gui it was easy...

Keduber commented 4 hours ago

Will this work and sent Photoshop to direct if I add this into Route-Default-New (after dns route) and use this ruleset?

      {
        "outbound": "direct",
        "processes": [
          "Photoshop.exe"
        ]
      }