Awesome Open Source
Awesome Open Source


Tunnel TCP through WebSockets. Access anything you want, even from a crappy WiFi which only allows HTTPS.

Note: chisel is probably the same thing but better. @mdslab/wstun is similar.

npm version ISC-licensed support me via GitHub Sponsors chat with me on Twitter

tunneling client

Using npx:

npx tcp-over-websockets wss:// 8022

Or by installing manually:

npm install -g tcp-over-websockets
tcp-over-websockets wss:// 8022

This will expose on localhost:8022, tunneled through a tunneling server at

Works like ssh -N -L [email protected], except that it's TCP over WebSockets instead of TCP over SSH.

tunneling server

Using npx:

npx -p tcp-over-websockets tcp-over-websockets-server

Or by installing manually:

npm i -g tcp-over-websockets


If you have a question, found a bug or want to propose a feature, have a look at the issues page.

Alternatives To Tcp Over Websockets
Select To Compare

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,072,185
Websocket (13,910
Tcp (9,445
Tunnel (2,794
Tunneling (556