We are excited to announce the first public release of caddy-l4, a Layer 4 (TCP/UDP) app for Caddy.
It enables Caddy to inspect and route raw network connections using composable matchers and handlers, similar in spirit to how the HTTP app processes requests. This allows building flexible Layer 4 routing pipelines for arbitrary protocols.
Capabilities
- TCP/UDP proxying
- Routing based on protocol detection (TLS, HTTP, SSH, etc.)
- TLS termination and SNI-based routing
- Protocol multiplexing on shared ports
- IP-based filtering and connection controls
- Pluggable matchers and handlers
Stability
Documentation
ℹ️ See the README and the docs directory for configuration examples and usage details.
Thanks
❤️ We are grateful to everyone who has experimented with early versions of this module, contributed new features, and provided feedback.