DOKK / manpages / debian 11 / httptunnel / hts.1.en
HTS(1) General Commands Manual HTS(1)

hts - httptunnel server

hts [options] [host:][port]

This manual page briefly documents the hts command.

hts listens for incoming httptunnel connections at PORT (default port is 8888), and optionally binds to ip address HOST. When a connection is made, I/O is redirected to the destination specified by the --device or --forward-port switch.

The program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options are included below.

Show summary of options.
use HTTP PUT requests of BYTES size (k, M, and G postfixes recognized)
use DEVICE for input and output
connect to PORT at HOST and use it for input and output
send keepalive bytes every SECONDS seconds (default is 5)
maximum time a connection will stay open is SEC seconds (default is 300)
use stdin/stdout for communication (implies --no-daemon)
always write Content-Length bytes in requests
output version information and exit
don't fork into the background
write a PID file to LOCATION
chroot to LOCATION before serving clients
change user and group identities before serving clients

This manual page was contributed by Teemu Hukkanen <tjhukkan@iki.fi>, and was originally written for the Debian GNU/Linux system.