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

How to setup network / url access to instance correctly? #2

Closed
moorage opened this issue Apr 1, 2018 · 2 comments
Closed

How to setup network / url access to instance correctly? #2

moorage opened this issue Apr 1, 2018 · 2 comments

Comments

@moorage
Copy link

moorage commented Apr 1, 2018

It would be great to have documentation in the README. that refers to how networking should be setup to the instance.

When executing /run.sh, the output ends in something like this:

Navigate to this URL:

    http://5e1e573deXYZ:40001/vnc.html?host=5e1e573deXYZ&port=40001

On google cloud, does one just open port 40001 and access the external IP address, like actually navigating to http://216.3.128.12:40001/vnc.html?host=216.3.128.12&port=40001 (just an example)?

Or is url mapping needed?

@moorage
Copy link
Author

moorage commented Apr 1, 2018

I successfully created the firewall rule this way:

  • Name: novnc-40001
  • Network: default
  • Priority: 976
  • Direction: Ingress
  • Action on match: Allow
  • Targets \ Target tags: novnc-40001
  • Source filters \ IP ranges: 0.0.0.0/0
  • Protocols and ports: tcp:40001

And then I added it as a network tag on the instance:

  • Network tags: novnc-40001

Then I accessed it using the external IP address of the instance, like this for example:

http://216.3.128.12:40001/vnc.html?host=216.3.128.12&port=40001

@willkessler
Copy link
Owner

Thanks-- that'll help somebody.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants