I have a simple Flask http server running on my Pi that reports GPIO and controls some GPIO. While on my home wifi, I have no problem interacting with the RPi via the flask server using some Restful services on the RPi to turn on relays and get reading from GPIO pins.
I want to extend this functionality outside of my local Wifi now. I want to be able to hit the web server on my RPi from the internet even if I am half way across the country. Can someone point me in the right direction to do this?
My setup: I have my RPi on my home network. It is an Xfinity cable router running 250mbps. I can reach the internet through the RPi, I just need to reach the RPi to from the other direction now.