This is an updated version of my previous Instructable: Control Stuff with your Raspberry Pi (GPIO) Over the internet.
This version is much more secure and could easily be used across the internet with very few security concerns.
A brief outline:
- A server program that runs on the Raspberry Pi to read variables
- A MySQL database to store the variables in
- An Apache2 served webpage to allow control of the variables