Simple websocket tcp proxy.
Usage:
ws-tcp-proxy <address:port> [flags]
Flags:
-a, --auto-cert string register hostname with LetsEncrypt
-c, --cert string path to cert.pem for TLS
-k, --key string path to key.pem for TLS
-p, --port int server port (default 8080)
--tcp-tls connect to TCP address via TLS
--tcp-tls-cert string path to client.crt for TCP TLS
--tcp-tls-key string path to client.key for TCP TLS
--tcp-tls-root-ca string path to ca.crt for TCP TLS
-t, --text-mode text mode
-v, --version display version
Make sure that GOPATH
and GOBIN
env vars are set. Then run:
go install github.com/zquestz/ws-tcp-proxy@latest
ws-tcp-proxy is released under the MIT license.