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

Does it work with Gihub codespaces? #81

Open
sameer-coder opened this issue May 25, 2022 · 2 comments
Open

Does it work with Gihub codespaces? #81

sameer-coder opened this issue May 25, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers question Further information is requested

Comments

@sameer-coder
Copy link

It is mentioned in the README "Although ktunnel is identified with kubernetes, it can also be used as a reverse tunnel on any other remote system"

Is there anyway I can use ktunnel to expose local resources(webserver) so that they can be accessed from within the GitHub codespaces container?

Thanks

@omrikiei
Copy link
Owner

Good question, in order for that to work you would need the following:

  1. a way to orchestrate ktunnel as a listener server in the codespaces container. From looking at the codespaces docs, you can add it in the Dockerfile and run it.
  2. reaching the server from the local machine to create the reverse tunnel, I think you should be able to have that as that is how VS-code connects to codespaces.

So overall I would say that it looks like it's possible, but I haven't given it a try yet... I haven't gotten around to working with codespaces yes, but I'll try to get there soon for a POC. in the meanwhile if you get this up and running it would be great to know.

@omrikiei omrikiei added documentation Improvements or additions to documentation good first issue Good for newcomers question Further information is requested labels May 27, 2022
@sameer-coder
Copy link
Author

I will give it a try and report back in case I succeed in making it work for codespaces. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants