Skip to content

zquestz/ws-tcp-proxy

Repository files navigation

License ReportCard Build

ws-tcp-proxy

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

Install

Make sure that GOPATH and GOBIN env vars are set. Then run:

go install github.com/zquestz/ws-tcp-proxy@latest

Contributors

License

ws-tcp-proxy is released under the MIT license.