# remote-tunnel

> > Like ngrok, but not limited to HTTP(S) traffic!

Latest version **0.0.3** (published 2017-07-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install remote-tunnel
pnpm add remote-tunnel
yarn add remote-tunnel
bun add remote-tunnel
```

Provides the commands `rt`, `rt-server`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2017-07-25 |
| First published | 2017-07-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | jrop |

## Links

- npm: https://www.npmjs.com/package/remote-tunnel
- npm.io page: https://npm.io/package/remote-tunnel

## Dependencies (6)

- [debug](https://npm.io/package/debug.md) ^2.6.8
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [express](https://npm.io/package/express.md) ^4.15.3
- [get-port](https://npm.io/package/get-port.md) ^3.1.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^1.7.1

## Recent versions

- 0.0.3 (latest) — 2017-07-25
- 0.0.2 — 2017-07-25
- 0.0.1 — 2017-07-25

## README

# remote-tunnel

> Like ngrok, but not limited to HTTP(S) traffic!

## Installation

```sh
npm install -g remote-tunnel
```

## How it works

Start the remote-tunnel (RT) server on a public server of yours somewhere:

```txt
        [example.com]
       /             \
  REST API        Socket Hub
```

The REST API runs on port 3000 (this is not configurable at the moment).
Now on a computer of yours, run the client:

```sh
$ node client.js -h example.com --local-port 22
Public port is 62713
```

This will hit the REST API, requesting that it initialize a tunnel and create a new
entry in its socket hub.  Now, `example.com:62713` tunnels to `localhost:22`!  You can
now connect to your local box via example.com:

```sh
$ ssh -p 62713 example.com
...
```

# License

ISC License (ISC)
Copyright 2017 <jrapodaca@gmail.com>

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

---
_Source: https://npm.io/package/remote-tunnel · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
