From 8b4063b44b64f65598bc7511c24e5bd523efe033 Mon Sep 17 00:00:00 2001 From: DHR60 <192860629+DHR60@users.noreply.github.com> Date: Sun, 9 Aug 2026 12:53:00 +0000 Subject: [PATCH] Set tun "route only" to true (#9933) --- .../Services/CoreConfig/V2ray/V2rayInboundService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs index 515ee917..8af0258a 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs @@ -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 }) {