Controlling equipment over the Internet
General instructions for using a static IP address and DDNS, and configuring NAT and Port Forwarding when connecting i3 pro and iRdium Server to controlled equipment over the Internet
Ways to connect iRidi to equipment
The i3 pro application and iRdium Server can connect to equipment at a remote location to control it and receive data. This requires some configuration of your network equipment (router). The following sections describe ways to control equipment remotely using i3 pro and iRdium Server:
To use the application with the server, you need to open the following ports:
30464 - to connect the panel to the server using the iRidi protocol
8888 - to access the server web interface.
However, we strongly recommend against allowing access from outside the network.
The server web interface has a limit of 10 open connections. When you expose network ports, you may lose access to the web interface if someone opens too many connections to it (botnets, attackers and so on).
When the connection limit is reached, the web server displays a message. Follow the instructions in that message to restore access to your server's web interface:

Connecting through a static Internet IP address
i3 pro or iRdium Server can connect to a remote router (and through it to equipment) using the router's Internet IP address, provided that it does not change, that is, it is static.
- Obtaining a static Internet IP address
Only your Internet service provider can assign a static Internet IP address to your router. If you use mobile Internet, a static address cannot be assigned; proceed to the next option (DDNS).
A permanent Internet IP address is called an external static or public IP address. It means your router can be reached from anywhere in the world and its address will not change.
What is my Internet IP address? (the address changes if it is not static)
Not all Internet service providers offer static IP addresses. If your provider offers this service, follow its instructions to configure your router to use a static address.
Next, enable access to the equipment through the router by configuring NAT and Port Forwarding.
- Configuring NAT and Port Forwarding on the router
NAT forwards data sent to the router from an external network to the local network. If forwarding rules are not configured, commands will not reach anything beyond the router.
NAT (Network Address Translation) translates internal network IP addresses into external network IP addresses. Before configuring NAT, assign static local IP addresses to the equipment
How data is forwarded from an external network to the internal network:

- the remote device sends a command to the router's Internet address and the equipment's external port specified in the forwarding table
- the router forwards the command to the local network device specified in the forwarding table
- the device executes the command
Configure the number of forwarding rules on the router according to which local network devices need to receive data or commands from the Internet.
Configure one forwarding rule using a D-Link router as an example. Each network device needs its own rule:

- "IP Address" - local IP address of the device to which you want to send commands from the Internet
- "Public Port" - port to which a command must be sent from the Internet to reach the device
- "Private Port" - actual port of the equipment receiving commands (may differ from "Public Port")
- "Traffic Type" - permitted connection protocol between the command sender and recipient (TCP or UDP)
Example.
Your provider has assigned your router the public static IP address 215.110.10.15.
You configured a forwarding rule on the router from external TCP port 8080 to internal TCP port 80 at address 192.168.0.100, which is the equipment's address.
To connect to the equipment over the Internet, specify the following connection settings:
**Host: 215.110.10.15, Port: 8080**
To connect to the equipment from the same local network, specify:
**Host: 192.168.0.100, Port: 80**
WARNING. Potential security issue when using Port Forwarding!
An open port on the router means that anyone can connect to your equipment if they find the open port and identify the equipment type. This problem cannot be avoided because it is inherent in communicating with remote devices through an open router port.
Follow basic security precautions:
- do not enable remote access to cameras that are not protected by a strong password
- do not enable remote access to equipment that is not protected by a strong password
- try to choose an external port different from the default to make it harder for an attacker to identify the equipment type
Connecting through a DDNS subdomain without a static IP address
i3 pro or iRdium Server can connect to a remote router using a domain name assigned to the router by a DDNS service. A domain name is used if your Internet service provider does not offer a static IP address or if you use mobile Internet.
Without a static external address, your router's Internet IP address changes over time. This is called a dynamic address. When it changes, the control application cannot reach the equipment using the router's external IP address because that address periodically becomes outdated.
A dynamic DNS service (DDNS, also called DynDNS) can address this problem. It assigns a permanent domain name to a router with a dynamic IP address. Several companies provide this service, including No-IP, DynDNS and others.
The following example assigns a subdomain to the router using the paid No-IP service. There are 3 configuration stages:
-
Register a subdomain on a website that provides DDNS
-
Configure DDNS on the router
-
Configure NAT and Port Forwarding on the router
-
Registering an account and subdomain on the No-IP website

- Register a new account on the No-IP website. During registration, select a subdomain address to use as your router's address. For example:
i3pro.hopto.org - Confirm your registration using the code sent by email. You can then manage domains on the "Managed DNS" tab
- The subdomain registered when you created the account is already active. You will need its name when configuring the router
With a free No-IP account, you need to renew the subdomain each month using the renewal button on the website, or it will stop working. You can purchase a subscription for 1 year or longer to create multiple domains that remain active. See the website for subscription terms.
- Configuring the router to use No-IP DDNS
Make sure your router supports DDNS. The path to the DDNS settings depends on the router model and manufacturer. Here are some examples:

DDNS settings are similar across router models:
- "Enable the DDNS Client" - enables the service on the router
- "Server" - DDNS provider's server; in this example:
WWW.NO-IP.COM - "User Name or E-mail Address" - login or email address used when registering the No-IP account
- "Password" - your No-IP account password
After you save the DDNS settings, the router periodically reports its Internet IP address to No-IP, and No-IP forwards data sent to the subdomain address to the router.
- Configuring NAT and Port Forwarding on the router
NAT forwards data sent to the router from an external network to the local network. If forwarding rules are not configured, commands will not reach anything beyond the router.
NAT (Network Address Translation) translates internal network IP addresses into external network IP addresses. Before configuring NAT, assign static local IP addresses to the equipment
How data is forwarded from the external network to the internal network:

- the remote device sends a command to the router's Internet address and the equipment's external port specified in the forwarding table
- the router forwards the command to the local network device specified in the forwarding table
- the device executes the command
Configure the number of forwarding rules on the router according to which local network devices need to receive data or commands from the Internet.
Configure one forwarding rule using a D-Link router as an example. Each network device needs its own rule:

- "IP Address" - local IP address of the device to which you want to send commands from the Internet
- "Public Port" - port to which a command must be sent from the Internet to reach the device
- "Private Port" - actual port of the equipment receiving commands (may differ from "Public Port")
- "Traffic Type" - permitted connection protocol between the command sender and recipient (TCP or UDP)
**Example. ** You registered the subdomain i3pro.hopto.org on the No-IP website and enabled DDNS on the router. You also configured a forwarding rule on the router from external TCP port 8080 to internal TCP port 80 at address 192.168.0.100, which is the equipment's address.
To connect to the equipment over the Internet, specify the following connection settings:
**Host: i3pro.hopto.org, Port: 8080**
To connect to the equipment from the same local network, specify:
**Host: 192.168.0.100, Port: 80**
WARNING. Potential security issue when using Port Forwarding!
An open port on the router means that anyone can connect to your equipment if they find the open port and identify the equipment type. This problem cannot be avoided because it is inherent in communicating with remote devices through an open router port.
Follow basic security precautions:
- do not enable remote access to cameras that are not protected by a strong password
- do not enable remote access to equipment that is not protected by a strong password
- try to choose an external port different from the default to make it harder for an attacker to identify the equipment type