Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tani/hyper-tunnel

HTTPS tunnel over WSS
https://github.com/tani/hyper-tunnel

https nodejs tunnel-client tunnel-server websocket wss

Last synced: 4 days ago
JSON representation

HTTPS tunnel over WSS

Awesome Lists containing this project

README

        

# hyper-tunnel

hyper-tunnel is HTTPS tunnel over WSS

## Introduction

In the meetup and other situations, we have to expose our localhost to host demo-application avoid Firewall for other participants. Generally, this is worst way. Tunneling over HTTP have risks by MITM. For this reason, almost services provide tunnels over End-to-End SSL/TLS in paid plan. This project is a simple toolkit to make HTTP tunneling over End-to-End SSL/TLS by WSS (WebSocketSecure). hyper-tunnel works on the following route.

```
web browser <--HTTPS--> hyper-tunnel server
|
~~~~~~~~~~~~~~Firewall~~~~~~ WSS ~~~~~~~
|
localhost <-HTTP(S)-> hyper-tunnel client
```

## How to use

```sh
$ npm install -g tani/hyper-tunnel
$ htunnel server --authorization USERNAME:PASSWORD --port 4000
$ htunnel client --authorization USERNAME:PASSWORD --localhost localhost:8000 --remotehost localhost:4000
```

Now you can access localhost:4000 with browsers, and hyper-tunnel access localhost:4000. `

## Related Services

- localtunnel
- ngrok
- pagekite

## Copyright & License

Copryright (c) 2018 TANIGUCHI Masaya All Rights Reserved.

hyper-tunnel licensed under the GPLv3 or later.