From a Mac, a remote connection can be established. Other remote devices can establish a connection to a Mac. I found a link to instructions on how to gain remote access to other devices outside of the network. Here is the link.
Link:
https://setapp.com/how-to/how-to-access-your-mac-remotely
I am trying to access all my files on my Mac desktop from my iPhone. I would like to view PDFs, images, play videos, etc without having to download them onto my iPhone or access them from the cloud. I downloaded an app called 'FE File Explorer' and it does exactly what I want it to except I can only access it when I am on my local WiFi network. My WiFi setup consists of an ASUS router hooked up to a AT&T model/router. I assume I might have to do some sort of port forwarding on my routers to get this to work outside of my home network?? I am fairly clueless when it comes to routers, routing information between computers, VPNs, etc. I went into my AT&T router settings and updated it to forward all ports and then on the ASUS, I tried opening up FTP (20,21), HTTP (80), 132-138, and 445. I found those ports online somewhere and thought I would just try, but they did not work. I did also try Chrome Remote Desktop and that may work, but from what I can tell, I can only screen share which I do not want. Also, I logged out of my computer at home and was able to access it yesterday, but today I can no longer access it.
Anyone know how I can get this done? Do I need to setup a VPN? If there is a way to do this within Apple's ecosystem as I am going from Mac to iPhone or by going through another app, then that would ok.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic