You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

tcp-over-websockets

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tcp-over-websockets

Tunnel TCP through WebSockets.

2.2.0
latest
Source
npm
Version published
Weekly downloads
8
-20%
Maintainers
1
Weekly downloads
 
Created
Source

tcp-over-websockets

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://example.org github.com:22 8022

Or by installing manually:

npm install -g tcp-over-websockets
tcp-over-websockets wss://example.org github.com:22 8022

This will expose github.com:22 on localhost:8022, tunneled through a tunneling server at example.org.

Works like ssh -N -L 8022:github.com:22 user@example.org, 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
tcp-over-websockets-server

Contributing

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

Keywords

tcp

FAQs

Package last updated on 25 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts