Skip to content
TCP over WebSocket
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
client.go
go.mod
go.sum
main.go
server.go

README.md

wstunnel

TCP over WebSocket

[something tcp server]
 |
 |  <= TCP
 |
[wstunnel server]
 ||
 || <= WebSocket
 ||
[you can add some reverse-proxy or other to here]
 ||
 || <= WebSocket
 ||
[wstunnel client]
 |
 | <= TCP
 |
[something tcp client]

How to Use

  1. Launch wstunnel server. e.g. wstunnel server 0.0.0.0:8888 127.0.0.1:25565
  2. Launch wstunnel client. e.g. wstunnel client 127.0.0.1:25565 ws://server:8888/ws
  3. Connect to your local port.
  4. 🎉
You can’t perform that action at this time.