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

access another computer #133

Open
JCsound opened this issue May 6, 2023 · 6 comments
Open

access another computer #133

JCsound opened this issue May 6, 2023 · 6 comments

Comments

@JCsound
Copy link

JCsound commented May 6, 2023

Hello, is there a way for him to make the connection instead of the machine's localhost make the tunnel from another machine that is on the network? I want to have remote access to these machines but I can't install other programs...

@azimjohn
Copy link
Owner

azimjohn commented May 6, 2023

Hello,

You can set up "ssh server" and expose with jprq. Then you can ssh into your machine remotely.
If you can't install other programs, then you can try "reverse shell" but it's not secure

@JCsound
Copy link
Author

JCsound commented May 6, 2023

would you explain me better how I do using the ssh server?

@azimjohn
Copy link
Owner

azimjohn commented May 8, 2023

This doc looks like a good start:
https://ubuntu.com/server/docs/service-openssh

@JCsound
Copy link
Author

JCsound commented May 17, 2023

Understood, I will give a see the best way to make this configuration. It would be really cool in a future update to have the function to tunnel another machine in an easier way.

@JCsound
Copy link
Author

JCsound commented May 17, 2023

That's right, but it would be a really cool feature to have in this project.

@anishsane
Copy link

I have a similar requirement. I have an IOT device running esp8266 that I want to expose over the internet for webhooks.

I cannot run jprq on the IOT device. So, the workaround I used with ngrok using
ngrok http iot_device_ip:80, which is not supported on jprq.

Alternatively, if it is possible to run jprq as arduino library, that works even better. But I believe that will need more effort for a specific use case. Forwarding the port to another system should be easier.

As a workaround, I can potentially reserve a port on my jprq client system and use iptables to forward requests to that port to iot_device_ip:80.

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

3 participants