-
Notifications
You must be signed in to change notification settings - Fork 782
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 targets apply #200
Comments
You can't pass multiple target on the command line like that. However, you can do it via configuration files: https://github.com/kanaka/websockify/wiki/Token-based-target-selection |
how can we do this in windows sys? I noticed that https://github.com/kanaka/websockify/wiki/Token-based-target-selection |
@kanaka is there a windows solution? |
@CodingYiyi I don't think there is anything in the token plugin code that is Linux specific. However, we don't officially support the python version of websockify on Windows (separate issues from the token code). The node version of websockify is known to work on Windows, however, it doesn't have the token based authentication merged yet. There is a pull request at #285 and you're welcome to try merging it yourself and testing it. If you get it working, be sure to give feedback on that PR since that would be helpful in deciding whether to merge it. |
@kanaka thanks for your reply,It saves my time. I will try to do it. |
My questions seems a bit out of context but I have a situation where I need help. I want to run tightVNC single instance to listen on multiple ports and I am using noVNC using websockify (node version). TightVNC does allow extra port option but websockify only listens at port 27016. |
I tried to run cmd in the windows of a report from the target_list #3.
websockify --web ./: 6080 192.168.2.119:5900 192.168.2.120:5900 192.168.2.121:5900
But
websockify [options] [source_addr:] source_port target_addr: target_port
websockify [options] [source_addr:] source_port - WRAP_COMMAND_LINE
It just came out this sentence .
and
target_list.cfg ==> {"target_list": ["192.168.2.119:5900", "192.168.2.120:5900", "192.168.2.142:5900"]}
websockify.exe --web="c:\users\desktop\Websockify Windows Service" target_list.cfg :6080
websockify [options] [source_addr:] source_port target_addr: target_port
websockify [options] [source_addr:] source_port - WRAP_COMMAND_LINE
websockify.exe: error: Error parsing listen port
It just came out this sentence .
also
websockify.exe --web="c:\users\desktop\Websockify Windows Service" --target-list target_list.cfg :6080
websockify [options] [source_addr:] source_port target_addr: target_port
websockify [options] [source_addr:] source_port - WRAP_COMMAND_LINE
websockify.exe: error: no such option: --target-list
It just came out this sentence .
How do I apply target_list?
and How clients access the server?
host&port ex) vnc_auto.html?host=192.168.2.119&port=6080
target ex) vnc_auto.html?host=192.168.2.119&port=6080=target=host1 <<<This way?
The text was updated successfully, but these errors were encountered: