Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Setting up CCTV DVR and router for remote viewing


  • Please log in to reply
9 replies to this topic

#1 rabbithair

rabbithair

  • Members
  • 3 posts
  • OFFLINE
  •  
  • Local time:02:36 PM

Posted 29 April 2013 - 10:42 AM

Hi all,

So I am trying to set up my DVR (Kguard SHA 104 v2) and router (SMC D3GN) for remote viewing via android. My DVR is hooked to my router by Ethernet cable.

The instructions in the Kguard are disorganized, unclear and difficult to understand. From what I have gathered, I need to port forward three ports: 9000, 80, and 18004

This is what I did with my router http://postimg.org/image/xhoy2mpat/ I am not sure if all of these ports can have the same private IP address.

I am confused as to whether I need a private static IP for the DVR or the DHCP setting should suffice. If I need a private static IP, I have tried looking everywhere on the router control panel for an option for that but I dont see any. I have tried to connect on the KView app on my android but it doesnt work, so Im guessing the port and/or IP settings have not been configured correctly.

Can someone give me any advice?

 



BC AdBot (Login to Remove)

 


#2 chrisd87

chrisd87

  • Members
  • 811 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:NC
  • Local time:01:36 PM

Posted 29 April 2013 - 11:04 AM

You will need a static ip on the DVR, or it will be very frustrating when the dhcp lease runs out, and the ip address changes each time. You'll change the ip address typically via the administration panel on the DVR itself. The port forwarding looks correct on the screenshot, and from guessing it looks like the ip address of the DVR is the 192.168.0.29? If so, then set that ip address up as static in the dvr.


"Like car accidents, most hardware problems are due to driver ɹoɹɹǝ."

 


#3 rabbithair

rabbithair
  • Topic Starter

  • Members
  • 3 posts
  • OFFLINE
  •  
  • Local time:02:36 PM

Posted 29 April 2013 - 11:46 AM

so setting the IP address as static in the DVR's panel, will make the router remember that?  because the router doesnt look like it has a setting for me to set a static private IP.

 

p.s.

 

I have a idea of what might be wrong, please tell if im right.  The android app requires:

 

-ip address

-port number

-user name and password.

 

I have been putting in the ip address field, the private IP address.  That cant be correct right?  it has to mean the public address for the entire router network right?

 

If that is the case, my ISP is Rogers, and the setting is DCHP.  So doesnt that mean that the public address/WAN address for my network changes after a week (lease time is 1 week)?  I would have to ask my ISP to provide an static public IP?

 

thanks.


Edited by rabbithair, 29 April 2013 - 11:52 AM.


#4 chrisd87

chrisd87

  • Members
  • 811 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:NC
  • Local time:01:36 PM

Posted 29 April 2013 - 12:05 PM

You will set the ip address as static in the dvr admin panel. If your isp has dhcp turned on for your ip address then yes after 1 week the lease will expire on your ip, and you will get a new ip address, which can make this very complicated when it comes to managing stuff that needs to have a static ip.

 

As far as I know, *I've never used the app*, but it does need to be set with your external ip address.

 

As long as your router supports nat, which most do, you can set a static nat to be able to translate your private ip address of the dvr to the public ip address issued by your isp.


Edited by chrisd87, 29 April 2013 - 12:18 PM.

"Like car accidents, most hardware problems are due to driver ɹoɹɹǝ."

 


#5 rabbithair

rabbithair
  • Topic Starter

  • Members
  • 3 posts
  • OFFLINE
  •  
  • Local time:02:36 PM

Posted 30 April 2013 - 10:15 AM

hey Chris,

 

i tried this configuration.   apparently the app still cannot connect. 

 

i tested the ports on canyousee.org and it could not see any of the aforementioned ports (reason stated is "no route to host")



#6 chrisd87

chrisd87

  • Members
  • 811 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:NC
  • Local time:01:36 PM

Posted 30 April 2013 - 10:47 AM

I always use www.portforward.com for opening the ports. Then you can use there free port checking tool to see if the ports are open.

 

This should help you out.

 

http://portforward.com/english/routers/port_forwarding/SMC/SMCD3GN/KGuard_KG-SHA104.V2.htm


Edited by chrisd87, 30 April 2013 - 10:48 AM.

"Like car accidents, most hardware problems are due to driver ɹoɹɹǝ."

 


#7 installer

installer

  • Members
  • 28 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:London
  • Local time:07:36 PM

Posted 16 May 2014 - 04:59 AM

Ok.  Firstly learn port forwarding and apply it to your router:

 

Here is a free guide:

 

http://qrcctv.co.uk/cctv/cctv-port-forwarding

 

Now remember on your android app create 2 different users.  (One to view from home and one to view from outside world)

 

For the home one: Enter your private internal IP address as you mentioned.

 

For the outside one: Enter your actual external IP:  ( Find it out for free and without adverts here: http://qrcctv.co.uk/myip )

 

 

Now if you are looking for a good generic android app have a look here:

 

http://qrcctv.co.uk/cctv/cctv-android-phone

 

 

Always try the free apps before paying for a paid version.


Edited by Queen-Evie, 22 July 2014 - 05:09 PM.
corrected spelling errors as requested by installer


#8 technonymous

technonymous

  • Members
  • 2,520 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:10:36 AM

Posted 13 December 2015 - 02:02 PM

Complete step by step picture guide for your router and dvr here. Be sure to setup security for your dvr Username & Password

 

Remember the port 9000 is for data. The port 80 is the port (webpanel) all your outside devices connect to login. You need to connect to your WAN ip address that is provided by your ISP. You can get that here.

 

Connecting with your android device...

 

WAN ip

Port 80

Username

Password

 

 

Be sure to check with your Android on it's own ISP service or other pc at a friends place. On some routers you cannot hit the WAN ip from inside the local lan. If that other port 18004? is the dvr's local setup page, then you definitely do not want to port forward that. If that is indeed the case, you need to remove that forwarding entry. That is strictly for local lan (layer2) access behind the NAT firewall. Usually such device are accessed with a local lan ip http://192.168.x.x:18004 or perhaps it's hostname http://dvr_hostname

 

Good luck!


Edited by technonymous, 13 December 2015 - 02:27 PM.


#9 Wand3r3r

Wand3r3r

  • Members
  • 2,027 posts
  • OFFLINE
  •  
  • Local time:11:36 AM

Posted 13 December 2015 - 04:46 PM

One thing not mentioned here is assigning a static ip via dhcp in the router.  Its called ip reservations and its where you associated the dvr mac address with the ip address you want it to have in the dhcp server on the router.  You can do this if you can't assign a static ip to the dvr.  One thing to note on assigning a static ip also not mentioned was configuring the routers dhcp scope to not have that ip address or it can result in a ip conflict.  So if using .29 make sure the dhcp scope is set to something like .50-200



#10 Wiz456edhf73bd

Wiz456edhf73bd

  • Members
  • 1 posts
  • OFFLINE
  •  

Posted 02 May 2016 - 02:01 PM

*THIS SHOULD WORK FOR A LOT OF YOU HAVING TROUBLE NOT ALL. VERY SIMPLE. (Especially for the Chinese/eBay dvr/nvr's)

I've yet to see this solution replied by anyone so I've obligated myself to post it. Assuming all ports are routed correctly in your router for your dvr and your ddns passwords match on both dvr and ddns server and all other steps for remote viewing have been correctly taken, simply find a remote viewing app that supports adding your dvr/nvr by GID. Preferably one recommended for your specific dvr but not necessary I've learned. (Sometimes a similar program made by the same developer will work as it did in my case, the old app started crashing when opening it upon updating to a newer version). Perform a LAN search while connected to WiFi on your mobile device and select your dvr's GID in the menu after the search completes or find it located somewhere in your dvr's menu and enter it manually into the mobile app. Try connecting to and monitoring your network over WiFi, then if successful disconnect from WiFi and ensure you can also connect through 3g/4g. I tried several ways of connecting through many many apps to the point of almost giving up and boom this worked like a charm!!! Hope this helps others as well. :)

Edited by Wiz456edhf73bd, 02 May 2016 - 02:15 PM.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users