Overview of Leaf supported protocols and features
masterLeaf is a versatile proxy framework supporting various protocols, transports, and traffic control mechanisms.
Proxy Protocols
- HTTP: Inbound only
- SOCKS5: Inbound and Outbound
- Shadowsocks: Inbound and Outbound
- Trojan: Inbound and Outbound
- VMess: Outbound only
- Vless: Outbound only
Transports & Security
- WebSocket, TLS, QUIC: Inbound and Outbound
- AMux: Leaf-specific multiplexing (Inbound and Outbound)
- Obfs: Simple obfuscation (Outbound only)
- Reality: Xray Reality (Outbound only)
- MPTP: Multi-path Transport Protocol for aggregation (Inbound and Outbound)
Traffic Control
- Chain: Proxy chaining (Inbound and Outbound)
- Failover: Failover with health check (Outbound only)
Transparent Proxying
- TUN: Inbound only (Supported on Linux, macOS, Windows, iOS, Android via lwip/smoltcp)
- NF: Inbound only (Windows via NetFilter SDK)
- TPROXY: Not yet supported (Linux)