Instructables

Remote Control Door - Internet Your Thing

Featured

Step 4: Start Server

Picture of Start Server
portForwarding.png
We've provided an app you can download and run on your own PC to avoid additional fees. We've also posted all the source so you can inspect and modify the app to do whatever you want. We just ask that you maintain the link to our site.
  1. Download the app
  2. Unpack it
  3. Run the script
  4. Configure your router to port forward to the app on port 9549 - you can change this if you like
  5. If you want security, configure SSL and add authentication
You can open the web page from any PC, phone, and tablet that is connected to your home network. If you want to control things from outside your home network will either have to configure your router/firewall to port forward to your app or pay somebody to host the app on a cloud server. You will have to run a special  app called a proxy to get through the router/firewall. Everybody is chasing this recurring revenue stream right now. Anyway, you can run (host) your own for free.
  1. Run ipconfig (windows) or ifconfig (linux) on the PC where you'll run the app to get the IP address
  2. Login to your router
  3. Go to the port forwading
  4. Add a forwarding rule that forwards traffic from port 9549 (default which you can change) to the IP address from step 1 and port 9549
  5. Save the config
  6. Check the routers status and get the public internet address - this address is what you will connect to from the outside (phones, work, etc.) It will look something like http://74.44.69.247:9549
Some things to keep in mind:
  • Your public IP address can change preventing access. There are DDNS services you can use to create a name and keep the dynamic address up to date if it changes so you can always connect - you can read more about it here.
  • Your internal IP address can change preventing access if you use DHCP . It generally doesn't, however you may want to use static IP addresses so it doesn't change.
  • If you have more than one router/firewall, you will need to setup port forwarding on router/firewall between the server and the public Internet. I have Vonage and a Netgear WiFi router, so I had to configure both. The procedure is exactly the same as outlined above.
 
Remove these adsRemove these ads by Signing Up
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!