top | item 27985632

(no title)

brutopia | 4 years ago

How about keeping connection open from the webcam server or any host on the same LAN with a ssh reverse tunnel to a cheap cloud server?

For example when the webcam server is reachable on LAN at 192.168.1.2:1337 you can do

$ ssh -N -T -R 1338:192.168.1.2:1337 user@cloudserver.com

on a raspberry pi on the same LAN or locally in the webcam server and then you can access the webcam server from anywhere using cloudserver.com:1338

discuss

order

dathinab|4 years ago

Besides provider sometimes have strange port rules it's not uncommon for them to forcefully change your IP from time to time, even if there is an open connection. It tends to happen at night and it tends to be a forceful disconnect from your router to the outside world for <5min.

At least I ran into this frequently (multiple times a week, I really need to fix my sleep cycle).

shoeffner|4 years ago

I considered such options before but if I remember correctly, the webhost does not allow SSH. However, I haven't checked for some time and I will definitely look into this, thank you!