Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Trabas – HTTP tunneling tool (ngrok alternative). Star us on GitHub.
Issues Discussions

trabas server set-config

Set server service configuration.

Options

OptionTypeDescription
--gen-keyNo value [Optional]Generate server secret
--keyString [Optional]Manual set server secret
--public-endpointStringA public endpoint host will be returned to the client
--redis-enableStringEnable flag whether to use redis for temporary transfer store. The value is either true or false
--redis-hostStringHost for redis
--redis-portStringPort for redis
--redis-passStringPassword redis
--forceNo value [Optional]Force rewrite all configs that has been set

Example

trabas server set-config --gen-key --redis-host localhost --redis-port 6379 --redis-pass mypass --force

trabas server ssl-config generate-keys

Setting SSL configuration for the server.

Options

OptionTypeDescription
--server_conf_pathStringServer configuration file path
--hostStringHost for SANs
--ipStringIP for SANs
--forceNo value [Optional]Force rewrite all configs that has been set

Example

If we have our server.conf file as follows:

trabas server ssl-config generate-keys --server_conf_path /path/to/server.conf

Or if simply provide the host and/or ip as follows:

trabas server ssl-config generate-keys --host localhost --ip 127.0.0.1