The process of setting up remote access to your user interface is dependent on your overall network configuration. This page explains the basic principles of remote access using port forwarding and dynamic DNS for Internet connections without fixed public IP addresses.
Remote access will allow you to access your Miniserver from outside your home network. There are two important stages to this. First you need to setup port forwarding on your router and then you need to register your Miniserver online to use the free Loxone DNS service so that you have a specific URL that you can always access your network externally with.
Remember to set your Miniserver to be on a static local IP address before configuring port forwarding.
KEY STEPS TO ACHIEVE REMOTE ACCESS
There are 4 key steps to achieving remote access on your Miniserver.
- Change the admin user’s password to something more secure than “admin” otherwise the Miniserver will be blocked on the DNS server. this can take up to 30mins to take effect on our server.
- Register your Miniserver in your Online Account. For instructions on how to do this please see this blog post: http://www.loxone.com/blog/enuk/new-product-registration/ This will enable you to use the DNS service for free.
- Ensure your Miniserver can communicate with the DNS server.
- Check that the DNS and Gateway (router) Settings are correct for your Miniserver, these details can be changed by selecting your Miniserver and using the “Configure Miniserver” tool that appears in the ribbon. Gateway needs to be the IP address of your router and the DNS address needs to be 126.96.36.199 (google) or your router’s address if using a BT router.
In config look select the Miniserver, in the properties panel the “External Address” field should be set to dns.loxonecloud.com and dns.loxonecloud.com:<port> if not using port 80.
Port forward for your selected ports on your router. Unfortunately all Internet Service Providers (ISP) use a different interface for their routers. For instructions on how to do this for your router it’s best to contact the router provider. Alternatively for a guide on how to do this for almost any router check out his website: https://portforward.com/router.htm
INTRODUCTION TO PORT FORWARDING
Port forwarding is the process of telling your router to route external traffic on an external port to an internal port. It is configured directly in your router webinterface. For instructions on port forwarding please see our documentation page or PortForward.com.
After you have allowed port forwarding on your router, you should be able to access your Miniserver using your external IP address (for example: http://<Your External IP Address>:<Miniserver’s Port Number>).
To retrieve your current external IP address please go to http://checkip.dyndns.com.
The access to the Internet from your private network happens via your router which is with the external address in the Internet. A port forwarding opens an external port of the router defined by you and forwards traffic to a defined internal port of a device in your home network.
This feature allows the Miniserver to be made externally accessible via your router. Instructions for your router are not covered on our website, you can find more information on port forwarding and the manuals for many router models at http://www.portforward.com.
INTRODUCTION TO DYNAMIC DNS
Dynamic DNS (DDNS) is a way to automatically update a domain name in the Domain Name System (DNS) with the current DNS configuration of the network, for example updating the public IP address for a network every time it changes.
This is important for connecting to your Miniserver remotely because most Internet service providers assign dynamic public IP address (i.e. it changes regularly). As you can’t know your public IP address unless you are at home and connected to your local network you need to register to a dynamic DNS provider so the public IP address is updated to a domain name URL such as myhouse.dyndns.org.
Loxone offers a free DNS service for your installation, you can read about it here.
One such 3rd Party dynamic DNS provider is DynDNS.com.
SETTINGS IN LOXONE CONFIG
In Loxone Config it is important to enter the local IP address and port, and the external IP address and port for the Miniserver. This is because once these details have been saved in the Miniserver when you first connect to the Miniserver with the app the app will automatically get these details so you don’t have to remember them.
To do this open Loxone Config, click on the Miniserver in the periphery tree window and then look at the properties. You will see two boxes, one for the External URL and one for the Local address. Enter the IP address followed by a colon followed by the port for both boxes.
CONNECTING THROUGH LOXONE CONFIG
If you need to connect to a Miniserver remotely from Loxone Config for example to do maintenance or a quick change, you can click connect and then enter the external URL in the Connect to Miniserver dialogue without “http://”. Remember to put the port number afterwards.
The Miniserver user interface uses HTTP with SHA1 hashing for authentication. If more advanced security and full encryption of communication is desired then please do not follow the guides on port forwarding but set up another remote access method, such as VPN.