Go to documentation repository
Page History
To connect the Client to the Server behind NAT, do the following:
On the Server, set the port range for operation. By default, the base port is 20111, and the port range is 20111-20210 (see Ports used by the Axxon One Software Package).
Set the router public IP address (see Network settings utility).
Note title Attention! The router public IP address
should must be static.
On the router, forward the
specified Server ports and the gRPC API 20109 port to the internal IP address of the Server port 20109.
Launch Start the Client and specify the router external IP address and the gRPC API 20109 Server
external base port in the connection settings (
see Starting - Client
).
Note title Attention! - When connecting the Client from an external network, only those Servers that have access to the external network will be available in the Axxon-domain configuration (
see - domain).
- If several Servers belonging to different domains are located behind NAT on the same LAN, you must assign a unique gRPC API port to each domain and forward it.
- To change the port, you must create the NGP_NATIVE_BL_PORT system variable and assign it a value corresponding to the required port (see Creating system variable, Configuring the Server ports).
Open the port range 27000–35000 on the Server (see Ports used by the Axxon One Software Package).
| Note | ||
|---|---|---|
| ||
If you do not open the port range 27000–35000 on the Server, there will be a problem with receiving the events to the Client from the Server. To solve the problem, create the NGP_POLL_EVENTS system variable on the Client and set its value to 1 (see Appendix 9. Creating system variable). |
Example.
To connect the Client to the Servers behind NAT, do the following:
- On the Server 1, set the port range 20111-20210 and
- From one of the Servers, forward port 20109 to the router public IP address .
- On the Server 2, set the port range 20211-20310 and the router public IP address.
- On the Server 3, set the port range 20311-20410 and the router public IP address. On the Server 1, 2 and 3, open the port range 27000–35000 and create the NGP_POLL_EVENTS system variable on the Client
- .
- On the router, configure the forwarding of:
- The router
ports 20111-20210 - port 20109 to the internal IP address of the Server
1 and ports 20111-20210.- The router ports 20211-20310 to the internal IP address of the Server 2 and ports 20211-20310.
- The router ports 20311-20410 to the internal IP address of the Server 3 and ports 20311-20410. The gRPC API 20109 port (always static) to the internal IP addresses of the Server 1, 2 and 3
- port 20109.
- When connecting the Client, enter the router public IP address and port :
- port 20111 to connect to the Server 1.
- port 20211 to connect to the Server 2. port 20311 to connect to the Server 3
- 20109.


