I am planning on getting a RasPi & configure it for remote access. The only issue is that it will be moved to another network overseas (I will send it with someone to connect it to the LAN). I will keep referring to this network as the LAN (see below).
So my questions is whether and how could I do this especially after reading this line from this reply.
you need to know the external IP and of the Pi and setup port-forwarding through the network router in your lab.
One idea I got is to have a script which collects the needed information (not sure if that's possible) once or after it is connected to the modem & share the file through some service (e.g. Dropbox) I setup to have access to before sending it.
If all is needed is the IP address that would be easy to acquire with this idea. But I am not sure If I need access to the modem and port forwarding. Is the IP enough to connect to it?
PS 1: the LAN it will be connected to is mine but I am overseas. PS 2: the modem for that LAN has OpenDNS installed on it, if relevant.