2
I have setup a connection using Qt in the LAN, PC1(192.168.1.195) will send UDP packets to PC2(192.168.1.201) with no problem.
But now, PC1 and PC2 are now working under different routers. So now PC1 is at (192.168.1.195) and PC2 is at (192.168.2.201). I have setup a port forwarding on router1 and pulg router1's WAN port to router2's LAN port.
Then I would like to send UDP from PC1 to PC2, what should I put for the destination address for this UDP packet? 192.168.2.201?
Nice to see this question here, thanks for moving it voluntarily ... I tried to post a comment on the other question but didn't get there in time. Check my answer below and see if that helps. – JimLohse – 2016-01-25T17:14:18.590