The ones I've seen that play with devices usually have a function to add a device usually based on its MAC address, but I'm not familiar with your router. The arduino code isn't going to help you access it from the internet. My example site very closely resembles the example server in the IDE which I used as a starting point. Its just got extra bits tagged on.
Accessing it from the lan is easy, it doesn't involve a router. ![]()