1 unstable release
0.1.20 | Oct 22, 2024 |
---|
#1528 in Web programming
197 downloads per month
Used in tunnelto
12KB
210 lines
tunnelto
tunnelto
lets you expose your locally running web server via a public URL.
Written in Rust. Built completely with async-io on top of tokio.
Install
Brew (macOS)
brew install agrinman/tap/tunnelto
Cargo
cargo install tunnelto
Everywhere
Or Download a release for your target OS here: tunnelto/releases
Usage
Quick Start
tunnelto --port 8000
The above command opens a tunnel and forwards traffic to localhost:8000
.
More Options:
tunnelto 0.1.20
USAGE:
tunnelto [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
-v, --verbose A level of verbosity, and can be used multiple times
OPTIONS:
--dashboard-address <dashboard-address> Sets the address of the local introspection dashboard
-k, --key <key> Sets an API authentication key to use for this tunnel
--host <local-host>
Sets the HOST (i.e. localhost) to forward incoming tunnel traffic to [default: localhost]
-p, --port <port>
Sets the port to forward incoming tunnel traffic to on the target host
--scheme <scheme>
Sets the SCHEME (i.e. http or https) to forward incoming tunnel traffic to [default: http]
-s, --subdomain <sub-domain> Specify a sub-domain for this tunnel
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
set-auth Store the API Authentication key
Dependencies
~3.5–4.5MB
~88K SLoC