HIKD / InsightsA practical perspective on security systems.

HIK Remote Access: P2P, Port Forwarding or VPN Tunnel?

A practical comparison of P2P, port forwarding and VPN for HIK recorders: what each exposes, upload maths and the checks that keep cameras off internet scans.

Read the guide
Remote access options for HIK recorders: P2P, port forwarding and VPN

TL;DR

  • There are only three ways to reach a recorder remotely: a cloud relay, an open port, or a VPN.
  • Port forwarding exposes the recorder itself to the internet; the other two hide it behind something else.
  • P2P is the fastest to deploy and the easiest to get wrong on permissions.
  • A VPN moves the security boundary to the router, which is where it belongs for multi-camera sites.
  • Whatever the route, upload bandwidth caps how many streams a site can serve at once.

Remote viewing is usually described as an app feature. In practice it is a network design decision, and the three common routes have very different failure modes and attack surfaces.

This guide compares P2P, port forwarding and VPN, gives the bandwidth arithmetic behind each, and lists the checks that prevent a recorder from appearing in an internet scan.

1. Three routes, three risk profiles

A recorder is a small server. Reaching it from outside the site means either the recorder opens a connection outbound, the site opens a port inbound, or the viewer joins the site's private network.

Each choice moves the trust boundary. With P2P, trust sits with the vendor's cloud. With port forwarding, trust sits with the recorder's login and firmware. With a VPN, trust sits with the router and the credentials that join the tunnel.

None of these is automatically secure. All three fail the same way: weak credentials, outdated firmware or a shared account that nobody revokes.

2. How P2P and cloud relays work

The recorder keeps an outbound connection to a broker service. When the app wants to watch, the broker introduces the two ends and relays or negotiates a path. No inbound port is opened on the site firewall.

This is why P2P works behind carrier-grade NAT and mobile broadband. It is also why the vendor's cloud becomes part of your security perimeter: the account that controls the device list controls the cameras.

Bandwidth overhead depends on the relay. A direct connection can carry the full stream; a relayed connection may be capped or transcoded by the service, which is why some sites look fine on a phone and poor on a PC.

Turn on two-factor authentication for the vendor account and remove unused devices from the account. A shared login is the most common weakness in P2P deployments.

3. Port forwarding: you are publishing a server

Forwarding a port makes the recorder reachable from any address on the internet. Scanners find exposed recorders within hours, and they try default credentials first.

Exposure What it means Mitigation
Login page Brute force and credential stuffing Strong unique password, lockout, 2FA if supported
Web services Known vulnerabilities in old firmware Current firmware, disable unused services
UPnP Devices open ports without approval Disable UPnP on the router and the recorder
Shared accounts No audit trail, hard to revoke One account per user, review quarterly

Changing the port from 80 to 8080 is not a security control. It reduces noise in logs, but any scan that checks all ports will still find the service.

If forwarding is unavoidable, restrict source addresses at the firewall where the ISP allows it, and put the recorder on a dedicated VLAN so a compromise cannot reach office machines.

If a recorder has already been exposed, treat it as compromised until proven otherwise. Check for unknown accounts, changed ports, disabled logging and firmware that nobody installed. Rebuild from a known configuration rather than deleting one suspicious user.

Watch for the quiet version of this problem: a temporary port opened for a demonstration and never closed. Review the router's port-forwarding table quarterly and remove every entry that cannot be justified by a current requirement.

4. VPN: move the boundary to the router

A VPN keeps the recorder private. The viewer joins the site network and then behaves as if it were on site: same addresses, same ports, same access rules.

There are two patterns. A client VPN lets a phone or laptop dial in; a site-to-site tunnel connects two fixed locations, which suits multi-branch operators who want one management view.

The router becomes the critical device. If the router is consumer-grade, its VPN throughput may be a few megabits per second, which is enough for a sub-stream and not enough for four 4K channels. Modern tunnels use IPsec or TLS 1.3, specified in RFC 8446.

Choose a router that publishes its VPN throughput. A unit rated for 50 Mbps of IPsec is comfortable for two or three main-stream viewers; a 10 Mbps unit is not.

5. The bandwidth arithmetic

Remote viewing consumes the site's upload capacity, not its download. A 4 Mbps main stream needs about 4.4 Mbps once protocol overhead is counted, and each additional viewer adds the same again.

A site with 20 Mbps upload can serve four main-stream viewers, or a dozen sub-stream viewers at 512 kbps each. That is the real limit, not the number of channels on the recorder.

Latency matters for control. Panning a PTZ over a link with 300 ms round-trip feels broken even when video is smooth, because the operator sees the result after the camera has already moved past the target.

Measure upload from the site, not from the office. Run a speed test from a laptop connected to the same switch as the recorder, then repeat through the VPN or relay to see the real path.

A worked example: a workshop with 12 Mbps upload wants three managers to review four cameras each from home during an incident. Four main streams at 4 Mbps already exceeds the link before the third viewer joins. The practical design is a four-tile sub-stream grid at 512 kbps per channel, which needs about 6 Mbps for twelve tiles, and a single main-stream view for whoever is investigating.

Plan for the incident, not the average day. Remote access is used most heavily exactly when several people want to look at the same event, which is when the upload link is under the most pressure.

6. Client choice changes the experience

Mobile apps favour sub-streams and adapt quality to the link. Desktop clients and browsers often request the main stream, which is heavier but sharper.

Browser playback depends on the browser's codec support. A browser without hardware H.265 decoding will stutter on streams that the phone plays without effort. Generic clients that implement the ONVIF profiles behave differently from vendor apps, especially on smart-codec streams.

For operators who watch all day, a desktop client with a hardware-decoding GPU is more reliable than a browser tab. For occasional checks, the app is enough.

Whatever the client, close unused windows. Each open playback session is a stream the site has to upload.

7. Choosing by scenario

Scenario Best fit Why
Single shop, owner checks on a phone P2P with 2FA No firewall changes, works behind NAT
Office with IT support, several viewers Client VPN Single entry point, revocable accounts
Multi-site operator, one management view Site-to-site VPN Stable routes, central VMS
Public web portal required Reverse proxy + WAF TLS termination, filtering, logging

Do not combine all three on the same recorder. A device reachable by P2P, a forwarded port and a VPN has three independent ways in and three sets of credentials to keep current.

Carrier-grade NAT deserves a note because it breaks the obvious solution. Many mobile and small-business connections place the site behind a shared address, so port forwarding is impossible even if the router offers the menu. P2P and outbound VPN tunnels work in that environment; inbound forwarding does not.

8. A hardening checklist that fits on one page

Change default credentials before the recorder touches the network. Use one account per person and remove accounts when staff leave.

Keep firmware current and disable services you do not use, including UPnP, Telnet and unused protocols. If the recorder supports IP allow-listing, restrict management to the office address.

Put cameras and recorders on a separate VLAN from office PCs. Log and review successful and failed logins weekly; a burst of failures is the earliest sign of scanning.

Document the remote path. The next technician needs to know whether the site uses P2P, a forwarded port or a tunnel, and which accounts exist.

Finally, decide who can see what. Remote viewers rarely need configuration access, and almost never need the ability to delete recordings. If the client supports roles, separate viewing from administration, and give the administrator account a different password from the one used on site.

A short written policy is enough: who has accounts, which route they use, how often firmware is checked, and what happens when someone leaves. Most remote-access incidents are policy failures long before they are technical ones.

9. FAQ

Is P2P less secure than a VPN? Not inherently, but it moves trust to the vendor account. With 2FA and device hygiene it is acceptable for small sites; with shared logins it is not.

Can I use a dynamic DNS name instead of a static IP? Yes, but it still requires an open port. Dynamic DNS solves addressing, not exposure.

Why does remote view work on Wi-Fi but not on mobile data? Mobile carriers often use carrier-grade NAT, which blocks inbound connections. P2P or a VPN with outbound initiation works; port forwarding does not.

Does a VPN slow playback? It adds encryption overhead and a hop. The effect is small on a modern router and large on a consumer unit rated for a few megabits.

How many remote viewers can one site support? Divide the measured upload by the stream bitrate. A 20 Mbps upload supports about four 4 Mbps main-stream viewers.

Should I expose only the NVR and not the cameras? Yes. Cameras should never be directly reachable from the internet; the recorder should be the single entry point.

HIK recorders for remote viewing

These models cover small shops to multi-site installations. Confirm the client apps and remote features for your firmware version before deployment.

Model Channels Price Link
DS-7608NXI-K2 8-ch 1U $218.00 View
DS-7616NI-M2 16-ch 1U $336.00 View
DS-7732NI-I4-24P 32-ch 24 PoE $655.00 View

Designing remote access for a site?

Tell us how many viewers, which devices and what upload speed the site has. We will recommend P2P, VPN or a mixed design before anything is exposed.

Ask our engineers

Copy link

Back to top

HIKD / HIKD editorial

Plan your next step

Share your model, requirements and project details with our team.
Request a quote

Stock and quotation

Check stock or request a quote

Enter the exact model number. Check live stock or send it to our sales team for a quotation.

Include the model suffix and quantity for an accurate quotation.