LarkSR3.3
3.3 Environment
Hardware Environment
CPU
Memory
GPU
Sound Card
Software Environment
Operating System
Chrome Browser
VC Runtime Library
DX Runtime
Text Editor
Virtual Sound Card Driver
Virtual Camera Driver
Virtual Handle Controller Driver
System Settings
Turn Off Antivirus and Firewall
Turn Off Application Running Notification
Setup Automatic Login
Set Never Sleep-Never Turn Off the Display
Using Dongle Settings
3D Program Adaptation
Program Adaptation Requirements
Installation and Deployment
System Components
Stand-Alone Version: File Structure Overview
Simple Cluster Version: Package Structure & Deployment Overview
Deployment in Detail
Stand-Alone Intranet Deployment Guide
Stand-Alone External Network Access Guide
Cluster Intranet Deployment Guide (Windows)
Cluster External Network Access Guide (Windows)
Cluster Intranet Deployment Guide (Linux Docker)
Cluster External Network Access Guide (Linux Docker)
Deployment Case Study
Edge Cluster Deployment: Multi-Location Case Study
LarkXR NAT
LarkXR Turn: Built-in TURN Proxy for Rendering Nodes
Nginx Reverse Proxy: Exposing LarkXR Cluster to External Network
Server Port Mapping: Exposing LarkXR Cluster via Port Forwarding
Advanced Cluster Deployment: High Availability and Multi-Master Setup
Dedicated GPU Server
Dedicated GPU Server: Rack Installation and Initial Setup
Operating System Compatibility and Precautions
Running LarkXR
Browser Support
Browser Compatibility Guide
Frontend Usage Instructions
Language Support
Application Overview
Launching an Application
Video Interaction (Client Camera Passthrough)
Voice Interaction (Microphone Passthrough)
Live Streaming
Text Input Methods
Regional Detection and Latency-Based Routing
Resource Allocation Strategy
Virtual Joystick (Remote Pole) Settings
Mobile Touch Gesture Modes
Function Menu
PC Client: Function Menu Guide
Mobile Client: Function Menu Guide
Exiting an Application
Backend Usage Instructions
Logging into the Management Backend
Data Center
Data Center: Resource Monitor
Data Center: Usage Statistics
Data Center: Client Error Log
Applications
Package Management
Package Overview
Add Package
Edit Package
Delete Package
Application Management
Applications
Add Applications
Share
Mouse Mapping
Noun Interpretation
Reserve Applications
Overview
Check Alive Function
Run Applications
Run Applications
Synchronization Management
Synchronization Overview
Client List
SR Client Management
Group Management
Group Management
System Settings
Access Authorization List
Workspace
Parameter Settings
License Type
No Operation Timeout
Storage Configuration
Safety Measurements
Region Setting
Custom Logo
Short Note
Port Mapping
Dispatch Policy
Current Limiting
Theme
Users
Change Password
How to Change Login Password
Port Forwarding
Guidelines on Port Forwarding
Customization
Application Index
Entering Applications
Server Side Settings
Application Storage
Standalone
Local Storage
OSS Storage
AWS S3
Cluster
Local Storage
OSS Storage
AWS S3
General Features
Disk Space
Synchronization
Configure Maximum Synchronization Count
Feature Components
Data Channel
Additional Parameters
Smart Voice
Video Input
Voice Input
External Physical Controller
Interactive Mode
How to Use
Frontend Usage
Interactive Mode Interface Integration
Security Settings
Feature Components
Redis
MySQL8
Database Monitoring (Druid)
Change Username and Password
Disable Statistical View
HTTPS Access
Windows
Linux Docker
Application Authentication
Workplace Access Encryption
SDK ID for Encrypted Secondary Development
Security Settings
Use Application Listing Page
IP Blacklist and Whitelist
Allow Cross-Origin
CORS
CORS For Upload
Frequently Asked Questions (FAQ)
Troubleshooting Common Issues
Update Log
Product Release Notes
-
+
首页
Guidelines on Port Forwarding
## Scene This feature is intended for scenarios where the management node has a public IP address, while the rendering nodes do not. ## Implementation Method By deploying a custom proxy forwarding service, rendering nodes can expose their services to external networks through the proxy. This allows rendering nodes without public IP addresses to provide services normally. ## Deployment Method - Linux Docker ## After Decompression Use the `larkxr-center-docker` directory. Its structure is shown in the figure below. Modify the `application.yaml` file under the `admin` directory by following the four steps indicated in the comments: ```yaml # NAT Forwarding Proxy nat-proxy: # Enable this when using NAT forwarding to solve the issue of lacking a public IP # 1. Set to true enable: true # Operation mode: client/server # 2. Set to server mode mode: server # LarkXR Management Node used with an independently deployed NAT service in server mode server-mode: # Configure the address of the NAT Server API, for example: http://192.168.0.6:8183 # 3. Set the API address for NAT service interaction api-server-address: http://192.168.0.164:8183 # LarkXR Management Node as a NAT client mode (not applicable here) client-mode: # NAT Server IP or domain name server-host: server-port: 20001 # clientKey provided by NAT Server client-key: # Turn Service: # The Windows version does not support Redis for persistent user information, while the Linux version does. # Therefore, if the Windows version enables forwarding service server mode and needs to dynamically create TURN users, # an additional Linux version of turnserver must be deployed. # If the Windows version is only used for forwarding WebRTC traffic, the built-in TURN service can be used # with fixed user information configured in turnserver.conf. ice: server: # 4. Set to true to enable the TURN service enable: true ``` ## Modify `turnserver.conf` When deploying in a containerized environment, the public IP address of the physical machine running TURN must be accessible over the internet. Open the `turnserver.conf` file in the installation package and configure the external IP address: ```bash # Due to network devices (such as routers and firewalls) performing NAT between internal and external networks, # the TURN server cannot directly obtain its external IP address. # Therefore, the external-ip parameter is used to specify the IP address visible on the public internet. # If external-ip is not configured, the TURN server will attempt to use the default IP address. # However, if the default address is invalid or inaccessible, a reliable TURN connection cannot be established. # By configuring external-ip, the TURN server can correctly handle and forward network traffic. # For example, use the public IP for cloud VM deployment, and the node IP for local container deployment. # Set this to the external IP address of the physical machine external-ip=192.168.0.164 ``` ## Start Services in Docker ```bash sh start.sh ``` ## Start Proxy Service > Note: You must configure the IP whitelist for API access. For example, when starting with Docker, use the IP address of the `admin` container, which is typically `172.29.0.20`. Run the following command to start the proxy service: ```bash cd /opt/larkxr-center-docker/proxy sh start.sh ``` ## Add Forwarding Service Access the management backend at `http://{ip}:8182`, then go to the **Port Forwarding Management** page. After adding the relevant configuration, the initial status of the forwarding client will appear as **Offline**. Please note that the **public port** and **client key** will be used in the following steps. ## Configure Rendering Nodes Modify the `application.properties` file to configure the center management node URL and the private IP address: ```properties # Center management node URL # It is usually recommended to configure this as the LarkXR gateway access address, # for example: http://192.168.0.20:8181 pxy.admin-server.url=http://192.168.0.164:8181 # This machine's private IP address pxy.host.local-ip=192.168.0.28 ``` Modify the public IP address: ```properties # This machine's public IP address # Set this value when public access is required and the node has been assigned a public IP # Change this to the public IP of the NAT service pxy.host.public-ip=192.168.0.164 ``` Modify the default port `10002`: ```properties # Rendering server client connection port # This should be the "public port" in the forwarding port configuration pxy.render-server.listen-port=20006 ``` Modify the forwarding proxy settings: ```properties ########### NAT Forwarding Proxy ########### # Enable this when using NAT forwarding to solve the issue of lacking a public IP pxy.nat-proxy.enable=true # LarkXR management node as NAT client mode # NAT Server IP or domain name # Change this to the public IP of the NAT service pxy.nat-proxy.client-mode.server-host=192.168.0.164 pxy.nat-proxy.client-mode.server-port=20001 # clientKey provided by NAT Server # Use the "clientKey" from the forwarding port configuration pxy.nat-proxy.client-mode.client-key=####### ``` Modify the ICE configuration: ```properties # Example format: turn:47.94.38.44:19303 # TURN URI for the proxy forwarding service # This service is deployed together with admin by default, and the default port is 13478 pxy.ice.server.uri=turn:192.168.0.164:13478 # Use the "clientId" from the forwarding port configuration pxy.ice.server.username=1328310734890729472 # Use the "clientKey" from the forwarding port configuration pxy.ice.server.password=b2f216b331ec4879846a70efdb6f3a43 # Set to 1 to force TURN usage pxy.ice.transport=1 ``` ## Start Services ### Access Application Access the application overview through the management node's IP address and verify that the application can be opened successfully.
admin
2026年6月29日 11:23
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
Word文件
PDF文档
PDF文档(打印)
分享
链接
类型
密码
更新密码
有效期