Backend modes
Backend modes define how zrok handles the content being shared. zrok supports HTTP-based backends and raw TCP/UDP backends.
HTTP-based backends
HTTP-based backends serve or proxy content over HTTP. There are four modes:
proxy: Forwards incoming requests to a target HTTP/HTTPS server running on your machineweb: Serves a local directory as a browsable file index or static websitedrive: Exposes a local directory over WebDAV for mounting as a network drivecaddy: Runs the built-in Caddy server using a Caddyfile you provide
TCP and UDP backends
zrok also supports sharing raw TCP and UDP services, without HTTP in the path. Use these when you need to tunnel non-HTTP traffic such as databases, game servers, or custom protocols.
📄️ HTTP proxy mode
The proxy backend mode forwards incoming requests to an HTTP or HTTPS server running on your machine. It's the
📄️ Sharing websites and files
With zrok it is possible to share files quickly and easily as well. To share files using zrok use