I have PC(192.168.0.55), host server(100.111.111.111), pi (192.168.1.2 or when in the same router 192.168.0.44)
when the pi and the PC under same router, the Virtual Here Share USB over Internet could easily find the shared usb ip: 192.168.0.44:7575, and it works perfect.
Now, I made Pi connect with a different network. its internal ip changed to 192.168.1.2 and the public ip also changed for sure.
I think use SSH is kind of the best solution, and I actually do not quite know other solutions.
Pi -> Server -> PC
in Pi: ssh -f -N -R 7575:192.168.1.2:7575 root@100.111.111.111 (is this the correct way ??)
in PC: ssh -D 7575 root@100.111.111.111 (is this correct ??)
or PC: ssh -L -N -f 7575:100.111.111.111:7575 root@100.111.111.111 (or I should do this??)
The goal is my PC side USB Virtual Here could find the ip of the Pi shared USB over internet.
Am I on the right track?
Have been cost a week on this. Feel really stressful. Really need help.
Thanks you all in advance.