Skip to content

gustavosbarreto/tonel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tonel - HTTP tunnel to localhost

Installation

$ npm install -g tonel

Usage

Server

Usage: tonel-server <options>

Options:
  -t, --timeout  HTTP request timeout                           [default: 45000]
  -p, --port     Port to listen                                    [default: 80]
  -r, --redis    Redis host:port                     [default: "localhost:6379"]

Client

Usage: tonel-client --port [num] <options>

Options:
  -h, --host       Server to provide forwarding                       [required]
  -s, --subdomain  Subdomain to use
  -p, --port       Internal http server port                          [required]
  -t, --token      Subdomain authorization token

Releases

No releases published

Packages

No packages published