14 releases
0.1.20 | Oct 23, 2024 |
---|---|
0.1.19 | Jul 19, 2021 |
0.1.18 | May 16, 2021 |
0.1.15 | Apr 18, 2021 |
0.1.6 | May 27, 2020 |
#212 in HTTP server
27 downloads per month
115KB
1.5K
SLoC
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
~33–48MB
~867K SLoC