From e615314582c1ed909a51084797e03a993ab76841 Mon Sep 17 00:00:00 2001 From: DHR60 <192860629+DHR60@users.noreply.github.com> Date: Wed, 15 Jul 2026 11:12:34 +0000 Subject: [PATCH] Xray tun route only (#9759) --- .../ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs index b0d5e287..d9b677d9 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayInboundService.cs @@ -74,6 +74,7 @@ public partial class CoreConfigV2rayService tunInbound.settings.autoOutboundsInterface = bindInterface; } tunInbound.sniffing = inbound.sniffing; + tunInbound.sniffing.routeOnly = true; if (_config.TunModeItem.RouteExcludeAddress is { Count: > 0 }) {