tcp-ws-proxy/README.md

787 B

tcp-ws-proxy

A TCP -> WS -> TCP proxy


This was originally made for accessing MariaDB databases over a websocket on a site proxied by Cloudflare. It seems to work pretty well in my testing so i've made the repo for it public.

Known issues

  • When using it over Cloudflare it is possible to create too many websocket connections. See #2.
  • The console spam can get pretty bad on the client with multiple connections. This should be resolved once all local client connections share the same pooled websockets.
  • There is no handling for if the websocket drops but the sockets on both sides do not. It will not re-establish a connection it will just terminate the TCP connections on both sides. This should be improved.