Im setting up a raspberry based surveillance system using motioneyeos.
I connect the raspberry to the router and set the Nat in the router to redirect connections to port 80 to the raspi. And it works.
The problem is that the system is gonna be in a house where I have no internet, so I'm using an old phone with a SIM there. I connect to the 4G and open the hotspot. Then I connect the raspberry to the hotspot and, from the same net, it works nice.
Now when I connect from the outside I cannot access the raspi, obviously. I can only access the phone. Is there a way to do the Nat as we do in our routers?