mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 19:05:41 +08:00
fix: change default tun dns-hijack
This commit is contained in:
1 parent
a45c61f19e
commit
ebe548438c
1 file changed
+1
-1
@@ -32,7 +32,7 @@ pub fn use_tun(mut config: Mapping, enable: bool) -> Mapping {
|
|||||||
revise!(tun_val, "enable", enable);
|
revise!(tun_val, "enable", enable);
|
||||||
if enable {
|
if enable {
|
||||||
append!(tun_val, "stack", "gvisor");
|
append!(tun_val, "stack", "gvisor");
|
||||||
append!(tun_val, "dns-hijack", vec!["198.18.0.2:53"]);
|
append!(tun_val, "dns-hijack", vec!["any:53"]);
|
||||||
append!(tun_val, "auto-route", true);
|
append!(tun_val, "auto-route", true);
|
||||||
append!(tun_val, "auto-detect-interface", true);
|
append!(tun_val, "auto-detect-interface", true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user