Previous page Next page
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 C-Werk Software Package).
Open the port range 27000–35000 on the Server (see Ports used by the C-Werk Software Package).
Attention!
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).
Set the router public IP address (see Network settings utility).
Attention!
The router public IP address should be static.
On the router, forward the specified Server ports and the gRPC API 20109 port.
Launch the Client and specify the router external IP address and the Server external base port in the connection settings (see Starting C-Werk Client).
Attention!
When connecting the Client from an external network, only those Servers that have access to the external network will be available in the Domain configuration (see Consolidating the Servers from different networks into Domain).
Example.
To connect the Client to the Servers behind NAT, do the following: