if i have a side A with, lets make it simple, one pc (ip 192.168.1.10, GW 192.168.1.1, public fixed) and side B one ftp server (192.168.1.10, GW 192.168.1.1, piblic fixed). now i want to establish a ftp session between pc on side A and the ftp server, src ip would be 192.168.1.10 and dest. ip public ip from side B(lets assume i have a port forwarding on side B).
but how would the ip header look like for the communication from side B to side A?
first they are in the same ip subnet, would that work? and how does side B know about the public ip of side A?
tried to have a look with wireshark, but our ftp server is only accessable via ssh, so dont see much.
any ideas? thanks!