The DDNS Service
Static IP address
Connect to the camera with the private IP address. Once you opened the web interface please click on Network/IP Configuration. The default setting is that the IP gets assigned by DHCP Server which means the router is giving the camera a free IP address every 24 -48 hours. This would have the effect that we have to change all settings again after this time period. In order to make sure the IP address is not changing we have to assign the camera a fixed IP address which doesn't change. Please uncheck the box Obtain IP from DHCP Server and some new fields will appear for our settings. You should see something like this:
IP Address: The first three numbers define the IP area of the router and therefore are the same as the routers IP address. Only the last number has to be changed to a unique address. It is important that no other device.
Subnet Mask: The default subnet mask for most private networks is 255.255.255.0. You can open the command prompt or MacOSX terminal and type ipconfig /all to check your subnet mask (as well as the default gateway and DNS server - see below).
Gateway: Here you have to fill in the IP address of your router. Usually the same as your camera´s IP address but with a 1 (number one) in the final octet - like 192.168.1.1 .
DNS Server: Normally this is always the same as the Gateway. In our sample we used an open DNS server from Google 18.104.22.168.
HTTP Port: This is the internal Port (also called LAN Port) of the camera - the default port is 80. If you run into difficulties connecting with your camera over the internet, change this port to a number higher than 8080 (8081, 8082, etc.). Please remember that you also have to adjust this port inside your routers port forwarding.
This data has to be filled in for each camera. Very important is that the IP address is never given twice to a device since otherwise it would cause a IP conflict. It is the easiest if you are using continues IP addresses. For example camera one gets 192.168.178.190 and then camera two should be set to 192.168.178.191 and so on. Also the Port number should be given continues.
Checking the DDNS address
This step is very easy. Please open the web interface of your camera and click on Network - DDNS Service. Here you will find the Manufacturer Domain. This is the address with which you can access your camera over the internet. Remember this address! It normally consist of 4 letters and 2 numbers plus the server domain (e.g. ddns-instar.com). For example if it used the servers xxxxx.ddns-instar.com or xxxxx.ddns-instar.de then the "x" stands for the 6 letters/numbers. Please make sure that the third party DDNS is set to None. Now please click on System - Info. The DDNS Status has to be displayed as successful.
If in some case this DDNS address is missing in your camera please contact the INSTAR Support. If the status is unsuccessful, your camera might have a problem connecting to the internet. You can try restarting the camera and check its IP configuration - especially the DNS Server and Gateway. Please contact the INSTAR support team if the problem persists.
You can also check your DDNS address manually with a small program called nslookup. Open your command prompt (in Windows: go to Start and type in cmd) and type nslookup to start the program. Now type in your DDNS address and wait for the response (see screenshots below). The IP address that is displayed has to be identical with the camera´s WAN IP address. You can check your WAN IP inside your router. Or open the website wieistmeineip.de and compare the displayed IPv4 address with the nslookup result.
Port Forwarding / Portforwarding / Firewall / NAT- or Port-Rules / Virtual Server
In the third and last step we have to tell the router to which IP and which Port he has to connect if you access from the internet in order to access your camera. Therefor your have to set a rule in your router. In most routers this is called port forwarding but some other routers might name it NAT, Firewall or Port rules.
Each router also used different expressions for the settings. Our goal is it to make you understand the settings so that you can easily fill out your own routers information for the port forwarding. In our sample we use the AVM Fritz!Box again to show you how to set it. To open the router just use the IP address which we filled in as gateway above and open it in the web browser. You should now see the login screen for your router. In the Fritz!Box you find this settings by clicking "Internet" - "Portfreigabe". Normally all routers need the same following data:
Application: There are a lot of presets which you can choose from. Such as HTTP Server, Webserver or others. We recommend to make a custom rule each time instead of using a preset rule.
Name: This is only important if you are using more then one camera so that you can differentiate later between the different cameras. You can name it for example with the camera name or the camera location.
Protocol: The camera only needs the TCP protocol. You don't need to forward UDP traffic.
From (external) Port: This is the external (WAN) Port with which you can access the camera later through the internet. If you are only using one camera it is best to set it as 80. If you are using more then one camera you "have" to increase the port for each camera. So the second camera would use the Port 81 for example.
To (external) Port: Some routers might use Port 80 as the Service Port. If so you have to use Port 81 for the first camera.
IP Address: Here you have to fill in the IP address from the camera.
To (internal) Port: This is the internal Port of the camera which we have set up earlier. If you are using a different Port then 80 inside your network then you have to set it here accordingly. We recommend to use Port 80 at this moment.
If you want to set up more then one camera you have to make sure that for each camera you will create a port rule in your router. The external Port has to be unique for every camera. We recommend to increase the Port number by one. So first camera is using Port 80 and the second one should use Port 81 and the third camera Port 82 and so on. After you created the Port rule for each camera you should type in the DDNS address + the Port number. For example:
Note: If you are using a Fritz!Box or a Speedport Router you can test the connection from within your own network. Most other routers do not support this function. So it is necessary to test it from outside your network. For example from a friends computer or from your computer at work. If you try this with Port 80 and you access your router instead of the camera then you might try to use Port 81 since it could be that 80 is the service port of your router. If you are using a smartphone App you normally have to fill in the DDNS number instead of the normal IP address and also the Port through which you access the camera. You can also check the user manuals for our iOS, Windows Phone and Android App.
To access your camera you can always use the same DDNS address. So if you have more then one camera you only need to remember one address. Most important is that you change the port behind the DDNS number. The reason behind it is that your internet service provider is assigning you a new IP address every 24 hours. Once the address is changed the camera notices this and sents it to the server in order to connect it to our DDNS address. This way you can always access your camera with one address even so the IP behind it changes. So even if you are using different DDNS addresses they all link to one address. So with every address you will access your router. And because of the port forwarding your router then knows to which device you want to be forwarded to. So for example we type the following to access the cameras:
- Camera 1: http://d2908.ddns-instar.com:80
- Camera 2: http://d2908.ddns-instar.com:81
- Camera 3: http://d2908.ddns-instar.com:82 and so on...