Skip to content

derhuerst/tcp-over-websockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcp-over-websockets

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

npm version ISC-licensed chat on gitter

tunneling client

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

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

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

npm i tcp-over-websockets node node_modules/tcp-over-websockets/server.js # todo

There's a public server running at wss://tcp-over-websockets-abvntgfmzf.now.sh, powered by now ❤.

Contributing

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

About

Tunnel TCP through WebSockets.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors 3

  •  
  •  
  •