Skip to content

Can't use #1

@kkstun

Description

@kkstun

./wsproxy -a 0.0.0.0:1443

wsproxy -role client -s ws://192.168.1.17:1443 -l 127.0.0.1:5678 -r 192.168.1.7:22
2021/01/24 19:57:14.191920 main.go:65: Starting service as a wsproxy client
2021/01/24 19:57:14.193421 client.go:110: Service listen on 127.0.0.1:5678
2021/01/24 19:57:25.827628 client.go:50: Handle connection from 127.0.0.1:52718
2021/01/24 19:57:25.995651 client.go:61: Connect to ws://192.168.1.17:1443?dst=192.168.1.7:22 failed: websocket: bad handshake. Response is &{Status:200 OK StatusCode:200 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[2] Content-Type:[text/plain; charset=utf-8] Date:[Sun, 24 Jan 2021 11:57:27 GMT]] Body:{Reader:0xc000182120} ContentLength:2 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc000078200 TLS:}.
2021/01/24 19:57:25.995651 client.go:63: Close connection from 127.0.0.1:52718

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions