I've got :
A local network A with:
- Offline Linux device 192.168.0.1
- Offline Windows device 192.168.0.2 that connects to port 4444 in Linux 192.168.0.1
- Raspberry Pi with two ethernet ports, 192.168.0.3 and DHCP that connects to a reverse SSH AWS server
A local network B with:
- Offline Windows device 192.168.0.4
- Raspberry Pi with two ethernet ports, 192.168.0.5 and DHCP that connects to a reverse SSH AWS server
How can I have my Windows PC in network B connect to 192.168.0.5:4444 and use port forwarding to get the data coming from network A, 192.168.0.1:4444 device?
Ideally as a configuration instead of commands that I have to run everytime they reboot.
I have read ssh forwarding and tunneling information but what I want to acomplish is more complex than what I understand.