How to set up a DVR


How to set up a DVR to watch CCTV security cameras over Internet from a remote place, if you have an Internet connection with a static IP address

  1. Connect your DVR to your router
  2. Use menu on your DVR to assign internal IPgateway and port number.

    This Local IP must be in the same Gateway range as your Router. If you are unsure, check the Router and locate the Status section.

    Alternatively use the the Command prompt of Windows 8/7/Vista/XP/2000 and type in ipconfig.
    Look for Gateway. If the Gateway is 192.168.1.1, then you can make the DVR's IP anything from 192.168.1.2 to 192.168.1.255.

    Also you will need to use the same SubNet Mask, which is typically 255.255.255.0, and the same gateway.
  3. Next find out what port your DVR uses. The easiest way to do it is by reading the manual of your DVR. See the network section of the manual.

    If your DVR comes with network software, it may show the port number in the connection area.

    Check the Server software/Programming (Network section of it) to see if the port is listed there.

    In many cases the port number will be 80, which is an HTTP port.
  4. Set your router to forward the chosen port to the internal IP address of DVR

    To access the Router itself, use the Gateway you just located. If the gateway is 192.168.1.1, then enter that into the location edit box of your browser and then click the Enter button. A username and a password are typically required, but it depends on a router. For Linksys use "admin", "admin". By default DLink doesn't require any username or password (Please note that it is highly recommended to change the default password). 


    Once you're logged into the Router, go to the Applications & Gaming Section /Servers of the Router and add a Server/ApplicationEnter the port numberand select TCP only. Where it says Port 0 to 0 enter the same port numbertwice. Or if your DVR uses, for example, ports 3550, 4550, 5550, 6550, and there is nothing else utilizing these ports in between, then you can actually just enter one line, 3550 - 6550. 

    Enter the DVR/Cameras internal IP

    Enable it



    Example:
    If the port was 1025, and the Local IP is 192.168.1.201, then the corresponding settings will be the following:

    NAME = Anything you want
    Port = 1025 TO 1025
    TCP/UDP = TCP
    LOCAL IP = 192.168.1.201
    ENABLED = CHECKED

    or

    NAME = Anything you want
    Port = 3550 TO 6550
    TCP/UDP = TCP
    LOCAL IP = 192.168.1.201
    ENABLED = CHECKED
  5. Set up additional entries for as many ports as your DVR uses, but use the same local IP address. Check your DVR manual and it's networking section for all additional ports required. Also check the DVR software itself.

    If your router has enough free entries, you can separate them. Use it like DVR_HTTP for the browser port, DVR_AUDIO for the audio port, DVR_VIDEO for the video port, etc.

    If you are going to use Virtual Network Computing (VNC) to a PC DVR, then you will need to set up port 5900, and perhaps call it VNC_DVR, for example.
  6. If you have a static IP address, then you should be able to enjoy viewing your CCTV cameras from a remote place by now. Just enter your static IP address in a browser in a remote location, and your router should forward packets to your DVR.s

    If you have a dynamic IP address, then you will need to set use a Dynamic DNS service, so that you can access your DVR by a memorable address.



One of the biggest challenges setting up a DVR to watch CCTV security cameras over Internet from a remote place is that all routers are different, so there are no general instructions on how to set them up. You need to refer to the router manual provided by the manufacturer of your router. 

Another problem is that some Internet providers do not provide static IP addresses using dynamic IP addresses instead.

How to set up a Dynamic DNS (DDNS) service and DVR to view CCTV cameras over Internet from a remote place, if you have a dynamic IP address

First, you need to find a Dynamic DNS (DDNS) service. Free services usually don't last too long or have their limitations. Paid Dynamic DNS services cost about USD $20-$25 per year. If you have your own server with BIND, you may set up your own Dynamic DNS service. Let's assume you will use a 3rd party dynamic DNS service (DDNS) for your DVR.
  • Create an account with a username and password at a Dynamic DNS service (free or paid).
  • Login to your account
  • Go to "Account" -> "My Service" -> "Add Host Services" -> "Add Dynamic DNS Host"
  • Enter and select hostname
  • Enter the IP address of your computer
  • Click "Add host"
    In your DVR software:
    • Find DDNS network settings
    • Enable DDNS
    • Enter username, password and hostname from your Dynamic DNS account
    • Apply the settings

Now if your IP address changes, your DVR software will send the data to Dynamic DNS (DDNS) service, so the data there will be updated. This allows to access your computer from a remote location by using a memorable name (user-friendly hostname) instead of a weird IP address. 

p.s. Please note that some routers can also be configured to work with DDNS, so instead of configuring your DVR software, you may configure your router. 



Problems setting up a remote DVR viewing when your ISP uses network address translator (NAT) or proxy server

When you check the IP address of your computer, please make sure it is not in the following ranges:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255
The IP addresses from these ranges are common in home and office local area networks (LANs), as globally routable addresses are scarce, expensive to obtain, or their use is not necessary. These addresses are private because they are not globally delegated, meaning they aren't allocated to a specific organization. If such a private network needs to connect to the Internet, it must use either a network address translator (NAT) gateway, or a proxy server. If you have such an IP address, then I can't help you to set up remote DVR viewing. You need to ask your ISP whether you can get a real IP address or port forwarding

No comments:

Post a Comment