Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple port forwarding #134

Closed
shanils opened this issue Aug 7, 2014 · 1 comment
Closed

Multiple port forwarding #134

shanils opened this issue Aug 7, 2014 · 1 comment
Labels

Comments

@shanils
Copy link

shanils commented Aug 7, 2014

Hi,

I am having the situations like multiple vnc servers listening each to a different port (5900, 5901, ..., 5910) I would like to mention the noVNC to connect to a single port (wsproxy) like 80 or 443 (SSL) and redirect all communication to the right port ? Is there any method to do this ? i would like to do something like,
path = WebUtil.getQueryVar('path', 'websockify?host=IP&port=portnumber');

Could you please help me to achieve this ?

@samhed samhed added the question label Aug 7, 2014
@kanaka
Copy link
Member

kanaka commented Aug 12, 2014

This is a duplicate of #3 Note that the client to request arbitrary targets is a huge security issue and will not be implemented in websockify. However, you can pre-configure targets in a configuration file and then launch websockify using the --target-config option. You then specify a "token=XYZ" in the query parameters of the initial websocket request path.

@kanaka kanaka closed this as completed Aug 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants