P2p transfer of file and communication between two nodes on different network

Is there anyway to transfer a file and communicate between Node A and Node B in ipfs ? Both A and B being in seperate LAN with private addresses .

If there is no direct conectivity, maybe through ipfs relay nodes, but you should ask in discuss.ipfs.io if this is an IPFS question…