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

#196 in HTTP server

Download history 6/week @ 2024-07-22 4/week @ 2024-07-29 4/week @ 2024-08-26 5/week @ 2024-09-02 8/week @ 2024-09-23 54/week @ 2024-09-30 5/week @ 2024-10-07 4/week @ 2024-10-14 149/week @ 2024-10-21 21/week @ 2024-10-28 13/week @ 2024-11-04

188 downloads per month

MIT license

115KB
1.5K SLoC

BuildRelease crate GitHub Docker Registry crate

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.

  1. Install
  2. Usage Instructions
  3. Host it yourself

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–49MB
~875K SLoC