Skip to main content

Module stream

Module stream 

Source
Expand description

L4 TCP stream proxy.

Provides simple bidirectional TCP proxying for non-HTTP protocols such as MySQL, Redis, or any other TCP-based service. Each configured listener binds on a local address and forwards all traffic to a single upstream target using tokio::io::copy_bidirectional.

Functionsยง

start_stream_listeners
Start TCP stream listeners for all entries in the given StreamConfig.