From 2f740b570d6e261c3098b9f25870a6b7d13e5af1 Mon Sep 17 00:00:00 2001 From: GyDi Date: Sat, 22 Oct 2022 22:26:40 +0800 Subject: [PATCH] fix: default dns config --- src-tauri/src/config/tun.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/config/tun.rs b/src-tauri/src/config/tun.rs index 3c9a8d0..8c19f47 100644 --- a/src-tauri/src/config/tun.rs +++ b/src-tauri/src/config/tun.rs @@ -57,8 +57,8 @@ fn use_dns_for_tun(mut config: Mapping) -> Mapping { // 开启tun将同时开启dns revise!(dns_val, "enable", true); - // 借鉴cfw的默认配置 append!(dns_val, "enhanced-mode", "fake-ip"); + append!(dns_val, "fake-ip-range", "198.18.0.1/16"); append!( dns_val, "nameserver",