Standalone video surveillance: connecting a camera to a 4G router

Setting up video surveillance in areas without wired internet is a complex engineering task that requires a smart approach to equipment selection. Mobile operators offer various tariff plans with large data volumes, making the use of mobile Internet It's entirely feasible to transmit a video stream. However, standard connection schemes that work in city apartments often prove useless here due to the peculiarities of mobile network architecture.

It's important to understand that a router with a SIM card creates a local network behind the carrier's NAT, hiding your devices from the outside world. Directly connecting an IP camera to such a router without additional configuration will only allow you to see the image inside your home, not remotely. Therefore, the setup process requires careful attention and strict adherence to network restriction bypass algorithms.

In this article, we'll explore the technical nuances that will enable you to turn a 4G modem and camera setup into a fully-fledged security system. You'll learn how to obtain a public IP address, configure P2P protocols, and optimize traffic to save money on communications bills. This guide will help you avoid common mistakes and save time on equipment testing.

Selecting equipment for an autonomous system

The first step is to acquire compatible devices that can work together without constant human intervention. The market offers a variety of options. routers 4G/LTE-enabled devices are available, but not all are equally suitable for video surveillance. The key factors here are external antennas for signal boosting and support for port forwarding or static IP.

Cameras should also be chosen wisely, paying attention to video compression codecs. Using modern standards such as H.265, allows you to significantly reduce your data usage without losing image quality. This is critical, as mobile internet often has speed limits or restrictions once your gigabyte package is exhausted.

⚠️ Important: Make sure the router you choose has connectors for external TS9 or CRC9 antennas if you plan to install it in an area with poor reception. Internal antennas may not be able to handle the load in a metal shed or basement.

For stable operation of the system, it is recommended to use equipment from trusted manufacturers, such as Keenetic, MikroTik or specialized 4G gateways from ZyxelCheap Chinese analogues can overheat under constant video load, leading to frequent reboots and archive loss.

📊 Which connection type is your system's priority?
4G/LTE modem
Satellite Internet
Radio channel
Fiber optic (backup)

Preparing your SIM card and tariff plan

The success of the entire venture directly depends on how well your mobile plan is chosen for your needs. Standard smartphone plans often block internet sharing with other devices or significantly reduce speeds when using tetheringYou need to contact a communications store or your operator's personal account to activate the "For modems and routers" option.

It's important to note that cameras can consume between 1 and 5 GB of data per day, depending on image quality and the amount of motion in the frame. If the camera records video continuously, the monthly 30 GB limit will be reached within a week. The optimal solution is to set up motion-detection recording or use cloud services with smart analytics.

It's also worth checking the network coverage where the equipment is installed. Even a powerful router won't be able to transmit a signal if the operator's base station is too far away or overloaded. In some cases, it makes sense to purchase SIM cards from different operators and use dual-SIM routers for automatic switching.

Physical connection and initial router setup

The installation process begins with properly placing the equipment and connecting the cables. The router should be installed in a location with the best signal reception, which is often determined experimentally. After inserting the SIM card and connecting the power, you need to connect to its local network via Wi-Fi or a LAN cable from a computer or smartphone.

Log in to the device's web interface by entering the gateway IP address in the browser's address bar, usually 192.168.8.1 or 192.168.0.1The default login and password are located on a sticker on the bottom of the case. First, change the administrator password and Wi-Fi network settings to protect the system from unauthorized access.

☑️ Initial router setup

Completed: 0 / 5

Next, you need to make sure that the router has successfully registered with the operator's network and received an IP address. The connection status should indicate LTE or 4G, and not only E or G, as the EDGE/GPRS speed is insufficient for the video stream. If the signal is weak, try rotating the device or moving the antenna outside.

Setting up an IP camera on a local network

Now let's move on to setting up the camera itself. Connect it to the router using a patch cord, as the initial configuration over Wi-Fi may be unstable. The camera has its own default IP address, which may not match your router's subnet, so use a dedicated utility from the manufacturer or a network scanner, such as Advanced IP Scanner.

Change the camera's IP address to a static one within your local network range so that it doesn't change after a reboot. For example, if your router has an address 192.168.8.1, ask the camera 192.168.8.50This will simplify further port forwarding setup and access to the device.

Parameter Meaning for a router Value for the camera Note
IP address 192.168.8.1 192.168.8.50 Must be in the same subnet
Subnet mask 255.255.255.0 255.255.255.0 Standard Class C mask
Gateway - 192.168.8.1 Router address
DNS Auto/From operator 8.8.8.8 You can specify a public DNS

After setting up the network, check the camera's availability by opening its web interface in a browser. If the image is broadcast within the network, the first step has been successful. Now it's time to adjust the video settings, reducing the bitrate and frame rate to reasonable values ​​to avoid overloading the connection.

Optimal video settings for 4G

To save data, set the resolution to 720p or 1080p, frame rate to 10-15 FPS, and enable variable bitrate (VBR). This is sufficient for object identification.

Organizing remote access via P2P and the cloud

The easiest and most reliable way to access the camera via mobile Internet is to use technology P2P (Peer-to-Peer). Most modern cameras have built-in support for cloud services (for example, Tuya Smart, Hik-Connect, XMEye), which do not require complex port configuration.

Simply register the device in the manufacturer's app by scanning the QR code on the device. The cloud server will act as an intermediary, connecting your smartphone and the camera, even if they are behind different NATs. This method is ideal for beginners and doesn't require purchasing a static IP address.

However, P2P has its downsides: video stream latency can reach 5-10 seconds, and quality can degrade with a poor signal. Furthermore, you're dependent on the camera manufacturer's servers. If their servers crash, access to the archive and live stream will be lost.

⚠️ Note: When using cloud P2P services, the video stream may not be end-to-end encrypted. For critical sites, consider more secure connection methods.

Port Forwarding and Static IP: Advanced

For those who need maximum response speed and independence from the manufacturer's cloud, port forwarding is an option. However, this poses a major problem with mobile operators: they issue "gray" IP addresses hidden behind a common NAT. To make your router visible from the internet, you need to order a "Static IP Address" or "Dedicated IP" service from your operator.

After connecting the service and rebooting the router, a "public" IP address will appear in its WAN interface. Now, in the router settings, find the section Port Forwarding (Port forwarding) or Virtual ServerHere you create a rule that redirects all incoming requests to a specific port (e.g. 8080) to your camera's internal IP address.

Example of a pass-through rule:

External port: 8080

Internal IP: 192.168.8.50

Internal port: 80 (or 554 for RTSP)

Protocol: TCP/UDP

Now, by entering in the browser or player http://YOUR_STATIC_IP:8080, you'll have direct access to the camera. This method ensures minimal latency and allows the camera to be used in third-party video surveillance systems (NVR, Home Assistant).

Optimization of traffic and energy consumption

Operating a video surveillance system in standalone mode places strict demands on power consumption. If the power supply is also out, the system must run on batteries or solar panels. In this case, every watt counts, and the router and camera must be as efficient as possible.

Use sleep modes if the camera supports motion detection with system agitation. You can also set a router schedule so it only turns on at night or during peak activity hours. Some router models allow you to disable the Wi-Fi module if the camera is connected via cable, saving energy.

Don't forget about security: default passwords are an open door for hackers. Change them to complex combinations, disable unnecessary services (Telnet, SSH, if not used), and regularly update your device firmware. Video surveillance shouldn't become a tool for spying on you.

How to extend battery life

Use LiFePO4 batteries instead of regular lead-acid batteries, as they tolerate deep discharge better and have more charge cycles.

What should I do if the router doesn't recognize the SIM card?

Check that the SIM card is inserted correctly (with the contacts facing down), that it works in the phone, and that the data service is activated. Also, make sure that the router settings are correct. APN your operator.

Why does the camera say "No network" even though the router is working?

The camera may be unable to obtain an IP address via DHCP. Try manually assigning a static IP address or rebooting the router. Also, check if the router's firewall is blocking the connection.

Is it possible to use a 3G modem instead of a 4G router?

Technically, it's possible, but 3G speeds (up to 1-3 Mbps in reality) will only allow for low-quality streaming (360p) with significant latency. This is often insufficient for security video surveillance.

How often should I change the password on my camera?

It is recommended to change passwords for access to the admin panel and video stream at least once every six months, as well as when personnel with access to the system change.