| Crates.io | chnroutes |
| lib.rs | chnroutes |
| version | 0.1.3 |
| created_at | 2024-05-31 17:14:41.524492+00 |
| updated_at | 2024-12-15 04:44:36.675973+00 |
| description | Rust version of chnroutes (with more features), to bypass the VPN accessing CN IPs. |
| homepage | https://github.com/lxl66566/chnroutes-rs |
| repository | https://github.com/lxl66566/chnroutes-rs |
| max_upload_size | |
| id | 1258152 |
| size | 3,999,085 |
简体中文 | English
chnroutes 的 Rewrite it in Rust 版本。
有几种不同方法可以安装此程序,您可以选择其中任意一种。
C:\Windows\System32(如果您用的是 windows)或任意 Path 目录下。bpm i https://github.com/lxl66566/chnroutes-rs -b chnroutes
scoop bucket add absx https://github.com/absxsfriends/scoop-bucket
scoop install chnroutes-rs
cargo install chnroutes --features bin
或 cargo-binstall:
cargo binstall chnroutes
chnroutes export -p windows # 导出路由表操作脚本,与原版 chnroutes.py 功能几乎一致(不推荐使用)
chnroutes up # 写入路由表项
chnroutes down # 移除路由表项
由于在 up 和 down 时直接调用系统 API,速度非常快,建议直接使用此方式,而不是原版的导出脚本执行。此方式需要管理员/root 权限。
查看 examples