diff --git a/service/core/v2ray/templateJson.go b/service/core/v2ray/templateJson.go index 07d78c68..07b01f03 100644 --- a/service/core/v2ray/templateJson.go +++ b/service/core/v2ray/templateJson.go @@ -8,7 +8,7 @@ const TemplateJson = ` "listen": "0.0.0.0", "protocol": "socks", "sniffing": { - "enabled": true, + "enabled": false, "destOverride": [ "http", "tls" @@ -28,7 +28,7 @@ const TemplateJson = ` "listen": "0.0.0.0", "protocol": "http", "sniffing": { - "enabled": true, + "enabled": false, "destOverride": [ "http", "tls" @@ -41,7 +41,7 @@ const TemplateJson = ` "listen": "0.0.0.0", "protocol": "socks", "sniffing": { - "enabled": true, + "enabled": false, "destOverride": [ "http", "tls" @@ -61,7 +61,7 @@ const TemplateJson = ` "listen": "0.0.0.0", "protocol": "http", "sniffing": { - "enabled": true, + "enabled": false, "destOverride": [ "http", "tls" diff --git a/service/core/v2ray/v2rayTmpl.go b/service/core/v2ray/v2rayTmpl.go index 640256dc..0779b1c5 100644 --- a/service/core/v2ray/v2rayTmpl.go +++ b/service/core/v2ray/v2rayTmpl.go @@ -1759,7 +1759,7 @@ func (t *Template) InsertMappingOutbound(o serverObj.ServerObj, inboundPort stri Protocol: protocol, Listen: "0.0.0.0", Sniffing: coreObj.Sniffing{ - Enabled: true, + Enabled: false, DestOverride: []string{"http", "tls"}, }, Settings: &coreObj.InboundSettings{