Proxy Mode Deployment Process
After successfully deploying within the cluster's intranet, it is necessary to configure an external access strategy. Here, we introduce two configuration modes: direct connection mode and proxy mode. For more information on the differences between direct connection and proxy modes, please see Understanding the Differences Between Direct Connection Mode and Proxy Mode.
Proxy Mode Explanation
During the cluster deployment process, due to the diversity of network structures, it is not guaranteed that every machine has an external IP address. Therefore, it is recommended to use the proxy mode in cluster deployment. The following example assumes that all rendering nodes and master nodes are on the same network. For edge node deployment methods, please refer to the corresponding deployment examples.
Configuration Steps:
Double-click to run LarkXRLauncher.exe and click on configuring the management node.
- Enable proxy for connecting to rendering servers.
Double-click again to run LarkXRLauncher.exe and click on configuring the rendering node.
Set the "Management Server Address" to the "Central Management Node URL," typically recommended to configure to the access address of the LarkXR gateway, such as http://192.168.31.10:8181.
Set the "Local IP" to the intranet IPv4 address.
Set the "Preferred Public IP" to the external IP address (e.g., 112.6.266.121).
Refer to the image below:
Network Port Opening/Mapping Strategy
Node | Type | Port Number | Purpose | Replacement |
---|---|---|---|---|
Management Node | TCP | 8181 | * * Required * *, Frontend Page nginx Forwarding and Backend Interface | [Modify 8181 Port]( https://www.pingxingyun.com/question/detail?topicId=10078&categoryId=2 Please refer to) |
Management Node | TCP | 8182 | * * Not Required * *, Backend Page nginx Forwarding | [Modify 8182 Port](https://www.pingxingyun.com/question/detail?topicId=10114&categoryId=2 Please refer to) |
Rendering Node | UDP | 10011-10040 | * * Required * *, Audio and Video Port, where one port represents one concurrent | Modify Audio and Video Port |
Direct Connection Mode Configuration
If the server has an external IP address, you can choose the direct connection mode. It is recommended to use the proxy mode when configuring for HTTPS access; otherwise, the rendering nodes will need to configure SSL certificates to use the WSS protocol.
Configuration Steps:
Double-click to run LarkXRLauncher.exe and click on configuring the rendering node.
Set the "Management Server Address" to the "Central Management Node URL," typically recommended to configure to the access address of the LarkXR gateway, such as http://192.168.31.10:8181.
Set the "Local IP" to the intranet IPv4 address.
Set the "Public IP" to the external IP address.
Set the "Preferred Public IP" to the external IP address (e.g., 112.6.266.122).
Please refer to the image below:
Network Port Opening/Mapping Strategy
Node | Type | Port Number | Purpose | Replacement |
---|---|---|---|---|
Management Node | TCP | 8181 | * * Required * *, Frontend Page nginx Forwarding and Backend Interface | [Modify 8181 Port](https://www.pingxingyun.com/question/detail?topicId=10078&categoryId=2 Please refer to) |
Management Node | TCP | 8182 | * * Not Required * *, Backend Page nginx Forwarding | [Modify 8182 Port](https://www.pingxingyun.com/question/detail?topicId=10114&categoryId=2 Please refer to) |
Rendering Node | TCP | 10002 | * * Required * *, Websocket Communication Port | Modify 10002 Port |
Rendering Node | UDP | 10011-10040 | * * Required * *, Audio and Video Port, where one port represents one concurrent | Modify Audio and Video Port |