Remote Viewing SetupDVR & IP Video Devices 12000 Ford Rd. Ste. #110 Dallas, TX 75234 www.idview.com T. 972-247-1203 Option 2 for Tech Support F. 972-247-1291
Your Instructors Evaristo Hooper Ehooper@idview.com Cameron Murdoch Cameron@idview.com Five years of Electronic Sales Experience Four years Undergrad studies in Computer Information Systems Three years Field Computer Repair Technician IDView Technical Support Rep • Graduate of Lincoln Technical School • Regional Sales Manager for IDView for four years • Actively involved in the design and implementation of hundreds of CCTV systems
The Basics Of CCTV Networking • Port Forwarding • Device Specific instructions • Analog DVR Networking Setup • IP Camera setup • HD-SDI Analog – The IP alternative OUTLINE
Goals After this session you should be able to: • Understand of the basics of networking • Recognize the difference between a public and private IP address • Understand the network requirements that are needed to setup remote viewing and access • Complete a port forwarding task on a routing device • Configure a DVR to use a DDNS service • Configure an IP camera to work on a network • Properly prepare the customer and yourself for a site visit to connect a customer’s video system to a network.
tHE basics of CCTV Networking • Explanations and Terminology • Pre-Trip requirements • On-Site implementation • Post Trip follow-up
Basic Explanation of Internet Viewing • Bandwidth Requirements for Remote Viewing • Download VS Upload Speeds • Broadband VS Dialup • The Role of Video Compression • The YOUTUBE Age – Death of AVI and MJPEG • Public IP vs. Private IP addresses • “I can see me, why can’t you?” • Private IP address can only be viewed from within the local network. Public addresses can be viewed by anybody on the world wide web.
Bandwidth Requirements for Remote Viewing and operation When using a mobile device or a computer connected to the internet OUTSIDE the local network of your video system, you have to insure that the internet bandwidth that your video system uses is sufficient to support your remote activities. • You must ensure that the customer has an UPLOAD speed greater than 500kB/S. • Most Broadband providers (DSL / CABLE / Fiber Optic) offer service packages that meet/exceed this requirement. • Dialup Providers CANNOT support this level of data transmission. • DSL is different than DIALUP even though they both use standard telephone line connections. • Do not confuse the customer’s DOWNLOAD speed with their UPLOAD. • The ability to stream HD video (YouTube/Netflix/Hulu) INTO the location has no bearing on the data stream that the Video Equipment will be sending OUT!
SpeedTest.net • For the DVR/Video System to work correctly you need to make sure customer has sufficient bandwidth. • At the DVR site you need to be concerned about “upload” speed. Minimum of 500 kbps is suggested. • At the Remote Viewing site you need to be concerned about “download” speed. • Use site like www.speedtest.net or many other Ping speed sites.
DO NOT CLICK HERE!! DO NOT CLICK HERE!! Click Here to Start Speedtest. Your Public IP Shows HERE. It is best to test the speed of the network with a computer that is connected to the same networking device as the DVR or IP CAMERA
MJPEG/MPEG4 Vs H.264 MPEG4/MJPEG Drawbacks H.264 Benefits Can create Proprietary video file types with encoded compression. Videos compress smaller allowing easy and quick transmission over small bandwidth networks Requires less physical storage for same length of recording. Designed with mobile devices in mind. • Hard to create uncorruptable video files. • Massive Storage requirements for high resolutions • Difficult to stream over internet connections since video files must be downloaded completely. • Limited compatibility with remote viewing devices.
Private vs Public IP address Private address like 192.168.xxx.xxx and 10.1.xxx.xxx are strictly used within a local network. Because every computer must have an IP address to be part of a network and because there are not enough numerical combinations, we use private addresses for most of the computers and then a public address to allow one network to communicate with another.
Private vs Public IP address Internet Networked Devices Modem Public Public / Private Private Router
Private vs Public IP address If the only address you had was 100 Main street you would not be able to find your destination without knowing City, State and Zip. If every address in every city had to be unique and every town could not have a Main, Oak, First etc. somebody would have to live on Ubiquitous street or A44B22 street. Because everybody is not online at the same time ISP frequently have fewer public address than they do subscribers.
Pre-Trip Requirements Before visiting the customer’s site, there are a few questions you should have answered about the customer’s network. Having these issues addressed prior to your arrival will minimize your onsite time and ensure that you can complete the setup in one visit.
Pre-Trip Requirements • Determine if customer already has broadband connection. • If they need to order the DSL or Cable broadband service, be aware that it normally takes a minimum of five days (some closer to 2 weeks depending on ISP technician workload). • Ensure the Customer orders a Bandwidth service level capable of supporting their remote viewing expectations. • If possible, suggest a static IP for more reliable remote access.
Pre-Trip Requirements • Determine if Broadband connection is to be shared • Determine how many systems will share the single connection • Ensure customer is aware that more active devices means slower remote video • Obtain a broadband router with a minimum of 4 ports (At least 1 port available for the DVR.) • Make sure you have all required Network (RJ45) cables to connect devices to router. (DVRs do not ship with network cable)
Pre-Trip Requirements • Determine if Static or Dynamic IP address is to be used. • For Static address make sure ISP provides IP address, subnet mask, default gateway and DNS server address. • If sharing Broadband connection make sure router supports port forwarding (virtual server) OR • Acquire enough IP addresses to provide each device with unique addresses. (static IP address usually cost more) • DDNS can be used with Static IP if customer doesn’t want to disclose their Physical IP address.
Pre-Trip Requirements • For Dynamic address, DDNS service is required for remote viewing. • Some DVRs have built-in DDNS service. • ID VIEW Supports EZ-DNS and I-DVR • Determine which DDNS service to use. • Go to DDNS website and setup account and input into DVR. • If using a paid DDNS service, determine the length of contract and domain name. Then make the purchase and input the information into the DVR. • We will go into more detail later on DDNS.
Pre-Trip Requirements • Determine if ISP requires user name and password authentication. • If DSL is used it usually requires a user name and password to authenticate the router. Do not reset the router without this information in hand. • Cable Internet usually authenticates by the MAC address of the supplied router.
Pre-Trip Requirements • Determine if ISP provides a modem or a modem/router. • Modem/router may need to be set by ISP into “Bridge Mode” This allows routing functions to be handled by the router you supply. • It is best not to do DHCP/ Port Forwarding with an ISP Supplied device. Some providers do not allow users to change settings anyway. • Ensure you have customer present with ISP account info to speed up the conversation with ISP technical support
ONSITE Implementation When you arrive to complete the network setup of the customers video system, ensure you have the following • A working Laptop computer running a current Operating System with a working wireless card, and Ethernet LAN Port. • A few Ethernet cables to link your laptop into various points in the network. • A Spare switch and/or non-wireless router (be prepared to bill for these) • The customer present with account info and logins for • ISP Modem • ISP Account • Router • DVR • DDNS service (optional)
On-Site Implementation • Connect DSL/Cable Modem to WAN/Internet port of router (Should be done already) • Connect router to DVR/Camera and other Devices. • Complete DVR Networking Setup and Router Port Forwarding • Use Local PC/your Service Laptop to connect and view images locally • Call someone off site and have them connect to verify WAN/Internet connection works
Network Discovery • Start>RUN>CMD.exe (On Windows 7 you need to type “command prompt” in search window) • C:\user>ipconfig (type ipconfig and look for information regarding TCIP/4 connection. Write down IP and gateway addresses) • Diagnostics on DVR Set to DHCP View Diagnostics Identify DVR IP Address allocated by Router • Router Device list • Login to router (gateway address) setup interface and view DVR on device list to confirm DVR IP Address
On-Site Implementation • Make sure Computer and DVR are on the same subnet (192.168.1.xxx is a subnet while 192.168.10.xxx is a different subnet) • Problems occur sometimes when a devices connected via wireless have a different subnet than devices like the DVR which are hardwired into the router. • Make sure that the port forward is done in the router closest to the world wide web. • (Directly Behind the modem) • Make sure only one router is supplying IP address. • If you have multiple routers/switches in succession, only one can have DCHP server enabled the others must be set to bridge mode.
Non Bridged RECIPE FOR DISASTER AND HEADACHE!! 192.168.1.6 Static IP 192.168.1.6 Public IP Private IP 192.168.1.6 192.168.1.1 192.168.1.1 192.168.1.1 Modem Modem Router 1 Router Router 3 Router Router 2 Router DVR ”.”.”.3 ”.”.”.3 ”.”.”.5 ”.”.”.3 ”.”.”.5 ”.”.”.5 ”.”.”.4 ”.”.”.4 ”.”.”.4 Bridged WORKS EVERY TIME! 192.168.1.6 Static IP 192.168.1.10 Public IP Private IP 192.168.1.14 192.168.1.1 192.168.1.6 192.168.1.10 Modem Bridged Router / Switch Bridged Router / Switch DHCP Router DVR ”.”.”.3 ”.”.”.7 ”.”.”.9 ”.”.”.5 ”.”.”.11 ”.”.”.13 ”.”.”.8 ”.”.”.12 ”.”.”.4
Port Forwarding • Port Forwarding re-directs Internet traffic (inbound traffic) to appropriate device. • Most customers do not have dedicated Internet connection for DVR. (Single Use Static IP) • Port 80 is the default port for HTTP (web traffic) and is the easiest port to work with but is sometimes blocked by ISP. • (Cox Communications Blocks this port to prevent HOME WEB SERVER) • Ports other than 80 need to be specified when connecting by putting http://ip_address:port#
Port Forwarding • Web sites such as www.portforward.com can provide valuable information on how to set up a given router with more than 1,000 models listed. • Port forwarding has to be done on the router that is closest to the outside world. Sometimes ISP provides a modem that also acts like a router and it must be put into “Bridge mode”.
WWW.PORTFORWARD.COM Depending on the router, the web site will walk you through the process to create a forwarded port, virtual server, or pin hole (different routers call this function different things) to allow you to reach your DVR remotely.
Port Forwarding Continued Most Common Routers • Verizon (ActionTec/Westell) • Bright House Networks (TimeWarner) • Linksys / Cisco • D-Link • Netgear *** YOU MUST FIRST FIND OUT THE USERNAME & PASSWORD OF THE ROUTER. If this is different than the default in the user manual, you must have the custom password or reset the router with the HARD RESET BUTTON.
Verizon Fios (actiontec) • First off, THERE IS NO DEFAULT LOGIN for this device. It is programmed with the customers login information at time of VERIZON installation. THEY MUST HAVE THIS ON HAND.
Verizon Fios (actiontec) Click the Firewall Settings button
Verizon Fios (actiontec) Click the Port Forwarding Settings button
Verizon Fios (actiontec) • Create a new Port Forwarding Rule • Select the DVR’s IP address in the first list. • Select Custom Ports in the second • Select Both in the third column • Enter the external PORT # • Make sure the DVR is set to the same PORT #
Verizon High Speed DSL (westell) There are a few different models that Verizon uses but the setup is identical for all models. Default Gateway: 192.168.1.1 Username: admin (case sensitive) Password: password (case sensitive) Click Configuration at the top of the page in the middle
Verizon High Speed DSL (westell) Click Define Custom Service
Verizon High Speed DSL (westell) First select Port Forwarding then Click Next
Verizon High Speed DSL (westell) • Name the service to reference the DVR • Enter your EXTERNAL PORTS in the Global Port range • Enter the DVR port in the Base Host Port • Select TCP • Click Next
Verizon High Speed DSL (westell) • Select the NAME you created from the Drop Down list then click ENABLE • Exit the utility.
Bright house Bright House Cable provides Roadrunner High Speed internet. There is a long list of cable modems which they issue to customers and each has its own interface. After speaking with their technical support house, their official recommendation is to have the customer call tech support and have the ISP configure the customers device. Some of their equipment allows for configuration by user and some models do not so as a general rule of thumb for this provider, Call them and make them do it. They will not give out blanket instructions for their equipment and will only give specific device info to customers that are in possession of that specific equipment. Save yourself a headache.
Linksys / Cisco Router • Login to the Router. • Go to “Application & Gaming” • Select “Port Range Forward” • Under “Application”, type name. • Start & End Port – enter the port that you want to use. (By default, DVR uses port 80) • Protocol – either Both or TCP • IP Address – Enter the local IP address of the DVR. • Check on “Enable”. • Click on “Save Settings”.
D-Link Click “ADVANCED”. Select “VIRTUAL SERVER”. Put check mark on “Enable”. Name: DVR/IP Camera Public: External Port # that you wish to use. Traffic Type: Both Schedule: Always IP Address: IP address of DVR Private: HTTP port of DVR Click “Save Settings”.
Netgear • Go to Port Forwarding / Port Triggering • With “Port Forwarding” Selected, click on “Add Custom Service”.
Netgear - Continued Service Name: DVR / IP CAMERA Service Type: TCP/UDP Starting & Ending Port: Whichever EXTERNAL port you want to use. Server IP Address: Private IP address of the DVR. Click “Apply”.
www.canyouseeme.org Error – Port is blocked either by ISP or due to configuration.
www.canyouseeme.org Success – Port is opened and configuration is done correctly.
Dynamic Domain Name Service - DDNS Earlier we discussed the difference between Static and Dynamic Public IP Addresses supplied by Internet Service Providers (ISP) If your customer is not paying for a static IP then you must use a DDNS service to maintain a remote connection with the DVR/Video System after the ISP renews the IP address list. Otherwise you will have to rediscover the DVR’s public IP every time you want to remotely connect (thus defeating the purpose of remote use).
DDNS Continued KEEP IN MIND: Some smaller providers that sublease from larger networks will cycle IPs more frequently than the larger providers. Most DDNS services such as i-dvr.netwill only trackdynamic addresses that cycle slower than 120 min. Customers in this situation will be Required to use a Static IP.
i-dvr.net setup • Using IE, go to i-dvr.net (do not type www) • Type the Username & Password provided on DVR. • Username: ICxxxxxx • Password: xxxxxx
i-dvr.net setup • Create your “Hostname” • Click on “Insert”.