Caddy-l4
lastmod 2026-11-10created 2026-05-312 edits
Caddy-l4 is a module that adds layer 4 (TCP/UDP) proxy capabilities to the Caddy web server. Caddy handles HTTP by default, but with this module it can accept arbitrary TCP and UDP connections, inspect the traffic content such as TLS SNI, HTTP host, SSH, and the PROXY protocol, classify it with matchers, and forward it to different backends or terminate and originate TLS. It is used to accept multiple protocols on a single port and route them to separate services, and is included by building with xcaddy.
Layer 4 (TCP/UDP) app for Caddy