DEV Community

Discussion on: Sharing your apps with the world for 5$

Collapse
 
zeerorg profile image
Rishabh Gupta

All routers have a config which redirects incoming traffic on a port (which is facing the internet) to a specific local ip and port.
First you should assign your raspberry pi a static local ip address from your router. This ip is something like "192.168.x.y" x and y can be different.
Second, you need to tell you route to redirect incoming traffic on a port to that ip and the exposed raspberry pi port.
If you have your router manual it should be there, or you can lurk around your router configuration to find out.

Collapse
 
harleykwyn profile image
Kwyntuple 5️⃣

Rad this is exactly what I was looking for! Now to pester my roommate for the router login :P