Set tun "route only" to true (#9933)

This commit is contained in:
DHR60
2026-08-09 12:53:00 +00:00
committed by GitHub
parent 3136f573dd
commit 8b4063b44b

View File

@@ -83,7 +83,8 @@ public partial class CoreConfigV2rayService
tunInbound.settings.autoOutboundsInterface = bindInterface;
}
tunInbound.sniffing = inbound.sniffing;
tunInbound.sniffing.routeOnly = inbound.sniffing.routeOnly;
// tunInbound.sniffing.routeOnly = inbound.sniffing.routeOnly;
tunInbound.sniffing.routeOnly = true;
if (_config.TunModeItem.RouteExcludeAddress is { Count: > 0 })
{