Crates.io | jets |
lib.rs | jets |
version | 0.4.3 |
created_at | 2025-01-30 11:38:37.477863+00 |
updated_at | 2025-07-20 12:20:28.571622+00 |
description | A Rust rule-based tunnel |
homepage | https://github.com/zhangsan946/jets |
repository | https://github.com/zhangsan946/jets |
max_upload_size | |
id | 1536261 |
size | 457,809 |
A Rust rule-based tunnel targeting to enduser for secure & reliable network access in high speed.
This project still has many features to be implemented. Welcome anyone interested in this project to PR to accelerate.
✅ Implemented 🚧 Partial Implemented ❌ Not yet implemented
Inbound
Outbound
Routing
DNS
Transport
Other
Create a Jets' configuration file named config.json
. Detailed explanation of the configuration file could be found on the Wiki page. Then run the following command:
jet -c config.json
Need to copy the wintun.dll file which matches the system's architecture to
the same directory as jets.exe
and run as administrator.
Install protocol compiler by downloading a pre-built binary from Protocol Buffers releases.
Check and run the example code. e.g.
cargo run --example full
Build from source. Then jets
will appear in ./target/release/
folder.
cargo build --release
PS: If you are building jets
for your own CPU platform (for example, build and run on your PC only), it is recommended to set target-cpu=native
feature to let rustc
generate and optimize code for the specific CPU.
export RUSTFLAGS="-C target-cpu=native"
localhost
in dns servers won't work. May refer to https://github.com/hickory-dns/hickory-dns/issues/652#issuecomment-1783178552 for possbile workaround.