Simple websocket tcp proxy.
Switch branches/tags
Nothing to show
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.
cmd
server
vendor
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
Makefile
README.md
signals.go
ws-tcp-proxy.go

README.md

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

go get -v github.com/zquestz/ws-tcp-proxy
cd $GOPATH/src/github.com/zquestz/ws-tcp-proxy
make
make install

If you have issues building ws-tcp-proxy, you can vendor the dependencies by using gvt:

go get -u github.com/FiloSottile/gvt
cd $GOPATH/src/github.com/zquestz/ws-tcp-proxy
gvt restore

Contributors

License

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