Caddy is an HTTP server, not a TCP proxy. But there’s no reason someone couldn’t write a TCP server type for Caddy.