HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: lgortzak on June 07, 2016, 03:10:33 PM
-
Hi guys,
I'm running HomeGenie on a raspberry Pi and would like to be able to acces it (use the API) from outside my local network. I have no problem using the API as long as i'm in the local network but I can't figure out how to make it accessible outside the house.
I cant for the life of me find out how to make it work.
Do I have to change my service ports or something in the UI? Any help would be appreciated :)
Thanks in advance.
-
Do you have your home IP address set up with a DNS service?
From here you have 2 options:
1 - VPN
2 - Use port forwarding on your router to your homegenie application on your pi
I can connect to my homegenie via a VPN built into my asus router as it's a secure connection.
-
Port forwarding and also make sure you check your firewall settings. In my setup, I have a DSL modem and a DD-WRT router. I had to change the DSL modem to bridge mode so it would simply forward all traffic to the router. Without this step, my modem was acting as a second layer of firewall protection which was not what I wanted.
-
I added some notes about using nginx add a reverse proxy to secure it on here
-
I use duckdns for dynamic DNS management. I have a cron job on my HG server (could be any computer in the house) that contacts duckdns periodically to update the entry.
Many routers of course also handle dynamic dns with various servers but mine didn't, so I found duckdns and it is completely hassle free... love it.
I've been accessing my HG server from all parts of the world to work on it and play with it etc
KV.