jprq icon indicating copy to clipboard operation
jprq copied to clipboard

access another computer

Open JCsound opened this issue 2 years ago • 6 comments

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...

JCsound avatar May 06 '23 03:05 JCsound

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

azimjohn avatar May 06 '23 10:05 azimjohn

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

JCsound avatar May 06 '23 23:05 JCsound

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

azimjohn avatar May 08 '23 15:05 azimjohn

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 avatar May 17 '23 19:05 JCsound

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

JCsound avatar May 17 '23 23:05 JCsound

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.

anishsane avatar Jul 02 '23 14:07 anishsane