tani / hyper-tunnel

HTTPS tunnel over WSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

HTTPS tunnel over WSS

License:Other


Languages

Language:JavaScript 56.0%Language:TypeScript 39.8%Language:HTML 3.6%Language:Dockerfile 0.6%