ngdaniel499 / aqua-pi

Documentation for the Raspberry Pi based water quality monitoring system created by Daniel P. Harrison
0 stars 0 forks source link

Open SSH to internet #2

Open ngdaniel499 opened 4 weeks ago

ngdaniel499 commented 4 weeks ago

Have a working solution with ngrok but don't want to use third party if possible

MatthewHannigan commented 4 weeks ago

Can do this with ssh remote forwarding; e.g. ssh -R 2022:localhost:22 -p 22 someone@gatewaybox executed on the pi would allow connections from gatewaybox to the pi.

We can automate this with autossh or (better) systemd I'll provide a systemd unit to make it happen.

MatthewHannigan commented 4 weeks ago

Tailscale is also an option. Or headscale an opensource free workalike.

ngdaniel499 commented 4 weeks ago

Hi matt, anything which will be quick and easy to implement sounds good. I'll have a look into these when I've got some time

MatthewHannigan commented 4 weeks ago

I'll test it out and send you the systemd unit file for the Pi.

ngdaniel499 commented 3 weeks ago

That would be great! Thanks Matt