eycorsican/leaf

A versatile and efficient proxy framework.

2,827

stars

580

commits

Rust

primary language

Sep 10, 2026

updated

README

Leaf Logo

Leaf

A versatile and efficient proxy framework.

Supported Protocols

Proxy Protocols

ProtocolInboundOutbound
HTTP
SOCKS5
Shadowsocks
Trojan
VMess
Vless

Transports & Security

TransportInboundOutboundNotes
WebSocket
TLS
QUIC
AMuxLeaf specific multiplexing
ObfsSimple obfuscation
RealityXray Reality
MPTPMulti-path Transport Protocol (Aggregation) (Architecture, Usage)

Traffic Control

FeatureInboundOutboundNotes
ChainProxy chaining
FailoverFailover with health check

Transparent Proxying

MechanismInboundOutboundNotes
TUNLinux, macOS, Windows, iOS, Android; lwip, smoltcp
NFWindows, NetFilter SDK
TPROXYLinux; Coming soon

Building

cargo build -p leaf-cli --release
./target/debug/leaf --help

License

This project is licensed under the Apache License 2.0.

Contributors

eycorsican

524 commits

chinsyo

14 commits

bdbai

13 commits

trumpfounder

5 commits

eycorsican/leaf

A versatile and efficient proxy framework.

2,827

stars

580

commits

Rust

primary language

Sep 10, 2026

updated

README

Leaf Logo

Leaf

A versatile and efficient proxy framework.

Supported Protocols

Proxy Protocols

ProtocolInboundOutbound
HTTP
SOCKS5
Shadowsocks
Trojan
VMess
Vless

Transports & Security

TransportInboundOutboundNotes
WebSocket
TLS
QUIC
AMuxLeaf specific multiplexing
ObfsSimple obfuscation
RealityXray Reality
MPTPMulti-path Transport Protocol (Aggregation) (Architecture, Usage)

Traffic Control

FeatureInboundOutboundNotes
ChainProxy chaining
FailoverFailover with health check

Transparent Proxying

MechanismInboundOutboundNotes
TUNLinux, macOS, Windows, iOS, Android; lwip, smoltcp
NFWindows, NetFilter SDK
TPROXYLinux; Coming soon

Building

cargo build -p leaf-cli --release
./target/debug/leaf --help

License

This project is licensed under the Apache License 2.0.

Contributors

eycorsican

524 commits

chinsyo

14 commits

bdbai

13 commits

trumpfounder

5 commits

Languages

Rust

99.4%