Hands-on tutorial
Tutorials · Video Surveillance
How to Harden IP Cameras and NVRs Against Attacks
Close the gaps attackers use on camera systems: default passwords, exposed ports, cloud P2P, old firmware and flat networks.
Before you start
- Admin access to cameras and the NVR
- A camera VLAN on the switches
- The latest firmware for each model
Step by step
Change every default password
Set strong, unique admin passwords on every camera and the NVR, and create separate viewer accounts with limited rights.
Update firmware
Install the latest firmware on cameras and NVRs, and check for updates every few months.
Isolate the cameras
Put cameras on their own VLAN. Allow cameras to talk only to the NVR and NTP, and block them from the internet and from other VLANs.
Never forward camera ports
Do not open NVR or camera ports on the internet router. For remote viewing, use a VPN to the site.
Disable what you don't use
Turn off P2P cloud services, UPnP, Telnet, unused protocols (such as RTSP without authentication or ONVIF if unused) and default accounts.
Use HTTPS and correct time
Enable HTTPS for the web interface and NTP for correct timestamps, which also matter for evidence.
Monitor and log
Send NVR logs to your syslog or SIEM and alert on failed logins, camera disconnects and configuration changes.
Pro tips
- Lock the NVR in a cabinet; physical access defeats most protections.
- Review user accounts when staff leave.
- Keep a list of camera IPs, MACs and firmware versions.
FAQ
Frequently asked questions
Is P2P cloud viewing safe?
It relays video through the vendor's servers and has been abused in the past. A site VPN gives you control over access.
Can a hacked camera attack my network?
Yes. Compromised cameras are often used in botnets and to reach other devices, which is why isolation matters.
Keep learning
Related guides
Secure CCTV remote access with a VPN
Read more →Segment IoT and CCTV networks
Read more →CCTV maintenance checklist
Read more →How to Set Up IP Cameras With a PoE Switch and NVR
From unboxing to recording: plan IP addresses, power cameras with PoE, add them to the NVR and set recording and retention.
Read more →How to Access CCTV Remotely Without Port Forwarding
Port-forwarding an NVR to the Internet invites attacks. Use a VPN instead and keep cameras invisible from outside.
Read more →How to Configure NVR Storage, RAID and Retention
Install surveillance drives, choose RAID, set recording quotas and confirm you keep footage for the required number of days.
Read more →Stuck on a step?
Ask Navijin technical support or an authorised partner for help with your configuration.