To consolidate the Servers from different networks separated by routers into Domain, do the following:
Set the port range for operation and the router's public IP address on each Server that is to be included in the Domain (see Network settings utility).

- For each router, forward the specified ports of the Server, which is located behind this switch, and the gRPC API 20109 port.
- Connect the Client to the Server from any network (see Starting C-Werk Client, Connecting the Client to the Server behind NAT).
- Manually add other Servers to the Domain using the public IP address of the corresponding router and the external base port of the Server (see Adding a Server to an existing Domain).

Example:

To combine Servers into one Domain in this configuration, do the following:
- On Server 1, set the port range 20111-20210 and the public IP address of router 1.
- On Server 2, set the port range 20211-20310 and the public IP address of router 1.
- On Server 3, set the port range 20111-20210 and the public IP address of router 2.
- On Server 4, set the port range 20211-20310 and the public IP address of router 2.
- On router 1, configure the forwarding of:
- the router ports 20111-20210 to the internal IP address of Server 1 and ports 20111-20210;
- the router ports 20211-20310 to the internal IP address of Server 2 and ports 20211-20310;
- the gRPC API 20109 port (always static) to the internal IP address of Server 1 and the internal IP address of Server 2.
- On router 2, configure the forwarding of:
- the router ports 20111-20210 to the internal IP address of Server 3 and ports 20111-20210;
- the router ports 20211-20310 to the internal IP address of Server 4 and ports 20211-20310;
- the gRPC API 20109 port (always static) to the internal IP address of Server 3 and the internal IP address of Server 4.
- Connect to Server 1.
- Manually add Server 2 to the Domain using the local IP address of Server 2 and port 20211.
- Manually add Server 3 to the Domain using the public IP address of router 2 and port 20111.
- Manually add Server 4 to the Domain using the public IP address of router 2 and port 20211.