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 (❓: help) 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 on the domain in question via the Infomaniak Manager (❓: help).
- 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 (❓: help).
- 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:
{{URL_4}}
- Save the configuration.
Important: if your UniFi interface has only one Server field, do not enter anything.https:// before the address. The %h and %i variables will be automatically replaced with the domain name and the public IP address.
Next, verify that the configured domain name points to the public IP address of your connection.
Configure 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 must configure port forwarding:
- In Settings, open the Port Forwarding section. Depending on the version of UniFi Network, it may be located in Policy Engine or in Security.
- Click on 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 strictly necessary ports and ensure that the exposed service is properly secured.
Link to this FAQ: https://faq.infomaniak.com/2891
Has this FAQ been helpful?