Skip to content

tani/hyper-tunnel

Repository files navigation

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

$ 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.