* support proxy tcp stream with kcp to improve experience of tcp over udp
* update rust version
* make subnet proxy route metrics lower in windows.
This commit is contained in:
Sijie.Sun authored and GitHub committed 2025-01-26 00:41:15 +08:00
1 parent 1194ee1c2d
commit 55a39491cb
19 files changed
+723 -164

No files matched your search

+3
View File
@@ -30,6 +30,9 @@ pub fn gen_default_flags() -> Flags {
multi_thread: true,
data_compress_algo: CompressionAlgoPb::None.into(),
bind_device: true,
enable_kcp_proxy: false,
disable_kcp_input: true,
disable_relay_kcp: true,
}
}
+1 -1
View File
@@ -295,7 +295,7 @@ impl IfConfiguerTrait for WindowsIfConfiger {
};
run_shell_cmd(
format!(
"route ADD {} MASK {} 10.1.1.1 IF {} METRIC 255",
"route ADD {} MASK {} 10.1.1.1 IF {} METRIC 9000",
address,
cidr_to_subnet_mask(cidr_prefix),
idx