I've got a Raspberry Pi set up as a server. I can acces it with 192.168.1.2, because i'm in the same network. Now I would like to be able to acces my Pi from outside my network (eg school).
I want to allow traffic to flow from the internet to my Pi. I know I have to make the IP address of the Pi look as though it is from the router with NAT and open up ports. The ports that need to be allowed through are port 80 (http) and port 22 (ssh).
I'm on a Mac osx 10.9.2, in airport utility, I've got router mode DHCP and NAT enabled and set up DHCP reservations based on MAC adres (it also asks IP adres, isn't this weird as it's dynamic and it will change, do I have to setup a static IP?) In the port settings I put 80 and my private IP adress.
How do I find out the public IP adress of my Pi? I feel I still have to do a lot before this works but I'm kind of stuck at this point. If anyone could point me in the right direction of what to do next, it would be much appreciated.
Also, are there any security measures I should consider because it sounds like enabling certain ports to allow traffic from the internet to my pi can be risky.
Please bare in mind I'm a beginner (not familiar with certain technical terms) and just experimenting around.