Skip to content

rust-net/tcp2ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcp2ws

client <------ tcp ------> server
to:
client <---tcp2ws---> websocket <---tcp2ws---> server

server:

tcp2ws server -l 8080 -p 22

client:

tcp2ws -l 2222 -w ws://server:8080
tcp2ws -l 2222 -w ws://server:8080 -udp server:1234  # UDP forward

now, you can use ssh root@client -p 2222 which should be the same as ssh root@server

and we have a Web GUI client in web-client branch.

image

development

RUST_LOG=debug cargo run -- server