Guide to Static Public IP and Port Forwarding Setup
When you choose to install the CMSV server software on a local physical server (e.g., a PC server in a company data center or monitoring room) and want external devices (such as body cameras or vehicle terminals) to access it remotely, it is essential to ensure the server has a publicly accessible IP address and that port forwarding is correctly configured.
Below is the complete deployment guide:
1. Prepare a Static Public IP
Why is a static public IP necessary?
When deploying the CMSV server on a local network, it typically uses a private IP address (e.g., 192.168.x.x) that is not accessible from the internet. To allow remote devices (such as body cameras or vehicle terminals) to connect to the server, it must be reachable via a public IP address.
There are two typical scenarios:
Scenario 1: The server has a dedicated public IP
The server is directly connected to the internet and assigned its own public IP. Remote devices can connect to it without additional configuration.
If your server is assigned a dedicated public IP and is directly connected to the internet (not behind a router), then:
- No port forwarding is needed.
- External devices (e.g. body cameras) can directly connect using the server’s public IP and the relevant CMSV port (e.g. 6604).
- You only need to install and run the CMSV server software, and ensure that any local firewall rules (e.g. Windows Defender Firewall) allow inbound connections on the necessary ports.
Scenario 2: The server is behind a router sharing a public IP
The server is connected to a local network and shares the public IP with other devices via a router. In this case, port forwarding must be configured on the router to forward specific ports to the server’s LAN IP.
In both cases, a static public IP is required. If the public IP changes dynamically, devices will not be able to maintain a stable connection to the server.
2. Install CMSV Server Software on the Local Physical Server
Environment Requirements:
- A physical server or stable workstation running Windows;
- Connected to the LAN via a router;
- A stable internet connection.
Installation Steps:
- Log in to the server system;
- Download the CMSV server software from the official website:
CMSV Server Software Download address( Click to download)
- Extract the files and follow the prompts to install the CMSV Server main program;
- Launch the service and ensure the background process is running properly;
- Note down the local server's internal IP address (e.g., 192.168.1.100).
3. Configure Port Forwarding (Applicable to Scenario 2)
Router Configuration Example (using HUAWEI enterprise router):
- Open a browser and access the router’s admin page;
- Log in with the administrator account;
- Navigate to Forwarding Rules → Virtual Server or Port Forwarding;
- Please open 6601-6612 (TCP/UDP), 2121(TCP), 2122-2162(TCP), 6617-6622(TCP), 6630-6635(TCP), 88/808/8080(TCP), total 67 ports!
4. Final Step: Configure CMSV Client and Devices
After the server installation is complete, you can enter the server’s public IP address into the CMSV client software and on each Body cam:
- In CMSV Client Software:
Input the static public IP
- In Body Cameras
Use Cam manager to modify the CMSV IP of the body cam
Note: Ensure firewall rules on both the router and the server allow inbound traffic on the mapped ports.
After completing these steps, remote devices should be able to successfully connect to your locally deployed CMSV server via the internet.