Good evening all (well, it's evening here )
Please help me with setting up ssh tunnels; i am getting confused about local/remote tunnels being connected into a single tunnel.
I have a router with port X open going to SSH port on raspberry pi.
I have a wifi enabled power outlet switch with http gui on port 80
Lets establish some fixed values:
Outside IP is 1.2.3.4.5.6
On router port 123 is open and forwarded to raspberry pi
Raspberry Pi is on a local ip 192.168.0.8 and running ssh server on port 123
Networked power switch is on IP 192.168.0.9 with http gui on port 80
What i want to do is open ssh session to raspberry pi with ssh tunnel from outside of my network via the open port on the router and be able to see the web gui from the wifi enabled power outlet switch.
I have successfully tunnelled into raspberry pi before to open up VNC gui from a remote VNC client, but i am not sure how to set-up ssh tunnel from raspberry pi to the 192.168.0.9:80 to be visible by a client outside of the LAN. Would a tunnel from raspberry pi to http gui be local or remote? Will this work at all?
Thanks ahead
Please help me with setting up ssh tunnels; i am getting confused about local/remote tunnels being connected into a single tunnel.
I have a router with port X open going to SSH port on raspberry pi.
I have a wifi enabled power outlet switch with http gui on port 80
Lets establish some fixed values:
Outside IP is 1.2.3.4.5.6
On router port 123 is open and forwarded to raspberry pi
Raspberry Pi is on a local ip 192.168.0.8 and running ssh server on port 123
Networked power switch is on IP 192.168.0.9 with http gui on port 80
What i want to do is open ssh session to raspberry pi with ssh tunnel from outside of my network via the open port on the router and be able to see the web gui from the wifi enabled power outlet switch.
I have successfully tunnelled into raspberry pi before to open up VNC gui from a remote VNC client, but i am not sure how to set-up ssh tunnel from raspberry pi to the 192.168.0.9:80 to be visible by a client outside of the LAN. Would a tunnel from raspberry pi to http gui be local or remote? Will this work at all?
Thanks ahead