From 94ee9164decfe75810c9b568d4a46eb900cbbb7d Mon Sep 17 00:00:00 2001 From: Hiddify <114227601+hiddify-com@users.noreply.github.com> Date: Mon, 5 Aug 2024 18:28:44 +0200 Subject: [PATCH] fix: tunnel service --- config/config.go | 2 +- v2/tunnel_service.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 9e6f945..e7ff862 100644 --- a/config/config.go +++ b/config/config.go @@ -456,7 +456,7 @@ func setRoutingOptions(options *option.Options, opt *ConfigOptions) { Outbound: OutboundDNSTag, }, }) - if opt.EnableTun { + if opt.EnableTun && false { routeRules = append( routeRules, option.Rule{ diff --git a/v2/tunnel_service.go b/v2/tunnel_service.go index a190d0a..10078f2 100644 --- a/v2/tunnel_service.go +++ b/v2/tunnel_service.go @@ -69,8 +69,6 @@ func makeTunnelConfig(Ipv6 bool, ServerPort int32, StrictRoute bool, EndpointInd } ], "route": { - "auto_detect_interface": true, - "rules": [ { "process_name":[