Choosing between P2P cloud and VPN access
The P2P/cloud method is easiest to set up and works well for most households, since the camera never accepts direct inbound connections from the internet β it only reaches outward to the manufacturer's server. A VPN approach takes a bit more upfront setup but avoids relying on a manufacturer's cloud infrastructure entirely and keeps the camera fully invisible from the public internet, which is the stronger choice if security is your top priority or if you're uncomfortable trusting a third-party cloud service with your camera feed.
Why exposing a camera directly to the internet is a real risk
Search engines exist that specifically scan the internet for exposed devices, including cameras, and index them by manufacturer, location, and open ports. Combined with the fact that many people never change a camera's default password, direct exposure via port forwarding has led to well-documented cases of strangers viewing live feeds from other people's homes. If you must expose a camera directly, at minimum change the default password, restrict it to a video-stream port only (not the full admin interface), and require HTTPS.
A history lesson: how default passwords turned cameras into weapons
In 2016 the Mirai malware infected large numbers of internet-connected cameras and video recorders by trying a short list of factory default usernames and passwords, then used them to launch very large denial-of-service attacks. The devices were not hacked with advanced tricks; they were simply left with default credentials and exposed to the internet. The incident is a good reminder that the first protective step is almost always the boring one: change the default password and keep the firmware updated.
A practical setup order
Start with the camera on the local network and confirm that local viewing works. Change the admin password immediately and give the camera a unique one. Update the firmware. Turn off services you will not use, such as UPnP, Telnet and unused remote access. Then choose the remote method: the manufacturer's app is the simplest, a VPN is the most private, and port forwarding should be the last resort. Finally, test from cellular data away from home, and check the access log or the list of logged-in devices every few months.
Frequently Asked Questions
Are there cameras that require port forwarding?
Yes β some older cameras and professional-grade NVR systems don't support cloud apps and require port forwarding or a VPN. In that case, forward only the camera's video stream port rather than its admin interface, and pair it with a strong password and HTTPS.
My camera app shows 'P2P' β is that actually safe?
A legitimate P2P cloud service run by the camera's manufacturer doesn't expose the camera directly to the internet, so it's generally safer than manual port forwarding. That said, not every service is equally trustworthy β stick to well-known manufacturers and their official apps.
What is UPnP and why should I disable it for cameras?
UPnP lets a device ask the router to open ports automatically. That is convenient, but it also means a camera can expose itself to the internet without you ever deciding to do so. Turning UPnP off on the router and on the camera gives you control over what is reachable.
Can I use free DDNS for a home camera?
You can, but remember DDNS only gives your home a stable name. It does not add security, and it does not help behind CGNAT. If you use it, combine it with a strong password, HTTPS and a restricted set of open ports, or consider a VPN instead.
How can I tell whether my camera has been exposed?
Search your own public IP address in a device search engine, review the router's port forwarding and UPnP tables, and look at the camera's login history if it provides one. Unknown open ports or unfamiliar login times are reasons to change passwords and update firmware.