Skip to main content
Star zrok on GitHub Star
Version: 2.0 (Current)

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 machine
  • web: Serves a local directory as a browsable file index or static website
  • drive: Exposes a local directory over WebDAV for mounting as a network drive
  • caddy: 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.

Other modes

socks mode provides a SOCKS5 proxy on the access endpoint, tunneling TCP traffic to its destination through the share.