Home automation help!!

I'm currently working on setting up home automation using arduino UNO and a raspberry pi to run the programming software. I've got it working at the moment turning a simple LED on and off over the web but it only works on my home network.

I REALLY want it to work anywhere over 3G from my phone or for my work computer but I can't figure out how to set that part up..

PLEASE HELP

Thank you in advance....

(Ps I'm fairly new to this as well so not that technical at the moment)

Look up Port Mapping. That is how you tell your home router to make some servers and ports reachable from the outside world.

Thanks for that, still can't seem to get it right. Setting up a virtual server as I am using a Bellini router and it doesn't have port mapping/forwarding setting. I tried changing the ports from the norm 80 but that hasn't done anything either.

I read somewhere when you enter the address you type the port as well eg: 192.168.2.1:80 but that still makes no difference.......

I got it working. Figured out in the address bar where I type in the ip plus the port I need to type my public ip plus the port.

THANKS for you help Johnwasser!!!!