When I connect my Arduino through a WiFly Shield to my home wireless router I get a private local ip. Something in the 192.168… range. If I type that address into a browser of a computer connected on the same network I get the webpage that is being served by the Arduino as I hoped. Now, I would like to see the page from any computer connected to the Internet, not just locally. Is this possible with the WiFly? How can I find out the public address, or assign it one? With my computer I go to whatsmyip.com, but even if I could do something similar with my Arduino, would typing that address into a browser allow access to the page the Arduino is serving. If not possible with WiFly, would an ethernet shield make a difference? Do I need a static ip?
Once your ethernet board is properly configured, you must properly configure your router, in such a way your board will be visible from outside your local network (i.e. from internet): you’ll have to specify in the “proper” section of your router configuration pages (on my Sitecom there is a “Virtual Server” tab to be clicked) the configuration of your ethernet board: IP address and port.
You must usually specify two ports: “local” and “public”:
Just as he said, there was a setting for my router which allowed me to map a local IP to a public one, so I mapped my local WiFly address, and entered the public IP in a browser and bingo, access everywhere. :D