mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:43:44 +08:00
chore: change default value of strict route
This commit is contained in:
parent
58cf69a2fe
commit
b20ec7f0eb
@ -35,7 +35,7 @@ impl IClashTemp {
|
|||||||
tun.insert("stack".into(), "gVisor".into());
|
tun.insert("stack".into(), "gVisor".into());
|
||||||
tun.insert("device".into(), "Meta".into());
|
tun.insert("device".into(), "Meta".into());
|
||||||
tun.insert("auto-route".into(), true.into());
|
tun.insert("auto-route".into(), true.into());
|
||||||
tun.insert("strict-route".into(), true.into());
|
tun.insert("strict-route".into(), false.into());
|
||||||
tun.insert("auto-detect-interface".into(), true.into());
|
tun.insert("auto-detect-interface".into(), true.into());
|
||||||
tun.insert("dns-hijack".into(), vec!["any:53", "tcp://any:53"].into());
|
tun.insert("dns-hijack".into(), vec!["any:53", "tcp://any:53"].into());
|
||||||
tun.insert("mtu".into(), 9000.into());
|
tun.insert("mtu".into(), 9000.into());
|
||||||
|
@ -26,7 +26,7 @@ export const TunViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
autoRoute: true,
|
autoRoute: true,
|
||||||
autoDetectInterface: true,
|
autoDetectInterface: true,
|
||||||
dnsHijack: ["any:53", "tcp://any:53"],
|
dnsHijack: ["any:53", "tcp://any:53"],
|
||||||
strictRoute: true,
|
strictRoute: false,
|
||||||
mtu: 9000,
|
mtu: 9000,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ export const TunViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
autoRoute: clash?.tun["auto-route"] ?? true,
|
autoRoute: clash?.tun["auto-route"] ?? true,
|
||||||
autoDetectInterface: clash?.tun["auto-detect-interface"] ?? true,
|
autoDetectInterface: clash?.tun["auto-detect-interface"] ?? true,
|
||||||
dnsHijack: clash?.tun["dns-hijack"] ?? ["any:53", "tcp://any:53"],
|
dnsHijack: clash?.tun["dns-hijack"] ?? ["any:53", "tcp://any:53"],
|
||||||
strictRoute: clash?.tun["strict-route"] ?? true,
|
strictRoute: clash?.tun["strict-route"] ?? false,
|
||||||
mtu: clash?.tun.mtu ?? 9000,
|
mtu: clash?.tun.mtu ?? 9000,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user