I'm trying to establish a way so a client could connect to an IP camera that is behind a cellular connection that doesn't allow opening ports. So far I have been successful in doing that using a Raspberry Pi that bridges the IP camera to a jump server through a reverse SSH connection.
With a command like this:
Code: Select all
ssh -R <bind address>:<bind port>:<source ip>:<source port> -N <user>@<jump server> -p <server's ssh port>
Example:
ssh -R 0.0.0.0:80:192.168.1.108:80 -N user@server.com -p 22222
Thanks.