Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Using Infomaniak DynDNS with a UniFi product
This guide shows you how to configure a UniFi gateway to access your services and devices via Infomaniak DynDNS.
Prerequisites
- You must have a compatible UniFi gateway, such as a UDM Pro/SE, a UDR, an UXG, a Cloud Gateway Ultra, or a USG.
- A dynamic DNS must have been created for the domain in question from the Infomaniak Manager.
- The UniFi gateway must have a public IP address on its WAN interface.
Configure DynDNS on a UniFi gateway
UniFi gateways include a DynDNS client that can be configured from the UniFi Network interface:
- Access your UniFi Network interface from the local IP address of your device or from the UniFi portal.
- Open the Settings.
- Select Internet.
- Click on the relevant WAN interface, usually named Primary or WAN.
- In the Dynamic DNS section, click on Create New Dynamic DNS.
- Enter the following information:
- Service: select Custom.
- Hostname: enter the fully qualified domain name configured in the Infomaniak Manager, for example
my-domain.xyzorddns.my-domain.xyz. - Username: enter the ID defined in the Infomaniak Manager when creating the DynDNS.
- Password: enter the password defined in the Infomaniak Manager.
- Then complete the configuration according to the fields displayed in your UniFi interface:
If the interface displays only a Server field:
Enter the following value, without adding
https://:infomaniak.com/nic/update?hostname=%h&myip=%i- If the interface displays separate Server and Request URL or Update URL fields:
Server:
infomaniak.comRequest URL / Update URL:
https://infomaniak.com/nic/update?hostname=%h&myip=%i
- Save the configuration.
Important: if your UniFi interface has a single Server field, do not insert https:// before the address. The variables %h and %i will be automatically replaced with the domain name and the public IP address.
Then, check that the configured domain name points to the public IP address of your connection.
Configure a port forwarding
DynDNS updates the IP address associated with the domain name, but does not open any access to your local network. To access a specific service from outside, such as a NAS, camera, or server, you need to configure port forwarding:
- In the Settings, open the Port Forwarding section. Depending on the version of UniFi Network, this may be found in Policy Engine or Security.
- Click the button to create a new rule.
- Configure the following settings:
- Name: enter a descriptive name, for example
NAS Access. - WAN Interface: select the relevant Internet interface.
- Incoming Port / Port: specify the port accessible from the Internet.
- Forward IP: enter the local IP address of the device, for example
192.168.1.123. - Forward Port: specify the port used by the service on the device.
- Protocol: select the required protocol, for example TCP, UDP, or both.
- Name: enter a descriptive name, for example
- Save the rule.
Warning: only open the ports that are strictly necessary and ensure that the exposed service is properly secured.
Link to this FAQ: https://faq.infomaniak.com/2891
Has this FAQ been helpful?