erebe / wstunnel

Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI - Static binary available
Other
3.22k stars 290 forks source link

multiple restrict-http-upgrade-path-prefix #190

Closed cattyhouse closed 5 months ago

cattyhouse commented 5 months ago

on wstunnel server

--restrict-http-upgrade-path-prefix <RESTRICT_HTTP_UPGRADE_PATH_PREFIX>
          Server will only accept connection from if this specific path prefix is used during websocket upgrade.
          Useful if you specify in the client a custom path prefix and you want the server to only allow this one.
          The path prefix act as a secret to authenticate clients
          Disabled by default. Accept all path prefix

from what i am understanding, this acts like user accounts, it would be nice to support multiple prefix so that one server instance can handle multiple users?

erebe commented 5 months ago

I have added it in https://github.com/erebe/wstunnel/releases/tag/v8.1.0 Let me know

erebe commented 5 months ago

Released in , and I have added a short command -r to avoid typing the full command line option

https://github.com/erebe/wstunnel/releases/tag/v8.1.1