Before you start
- Access to your router
- The camera’s required ports (from its manual)
- A public IP address (not CGNAT)
Method 1 Prepare the camera or recorder
-
Step 1: Secure it
Set a strong unique password and install the latest firmware.
-
Step 2: Find its ports
Check the manual or settings: commonly HTTP (e.g. 80/8080), RTSP (554) and a device/service port. Change defaults to less common ports if the device allows it.
-
Step 3: Reserve an IP
In your router’s DHCP or Address Reservation settings, reserve a fixed IP for the camera’s MAC address (e.g. 192.168.1.50).
Method 2 Create the port forwarding rule
-
Step 1: Open Port Forwarding
In your router, find Port Forwarding, Virtual Server or NAT Forwarding.
-
Step 2: Add a rule
Enter a name, the external port, the camera’s internal IP and port, and the protocol (TCP, UDP or both) as specified by the maker. Save.
-
Step 3: Test from outside
Turn off Wi-Fi on your phone and connect on mobile data to your public IP:port (find your public IP by searching “what is my IP”), or use the camera app’s remote setting.
Troubleshooting
Can’t connect from outside
Check the camera’s IP didn’t change, the protocol is right, and test from mobile data (testing from inside your home often fails). Confirm you don’t have CGNAT.
Works for a while, then stops
Your public IP changed. Set up DDNS.
Frequently asked questions
Is UPnP the same as port forwarding?
UPnP opens ports automatically. It’s convenient but risky; manual rules are more controlled.
What’s the safest way to view cameras remotely?
A VPN to your home network, or a reputable maker’s cloud service with two-factor authentication.
Summary
Secure the camera, give it a reserved IP, and forward only its required ports in your router. Test from mobile data, use DDNS for changing IPs, and prefer a VPN or the maker’s app when you can.