Community discussions

 
BBrain
just joined
Topic Author
Posts: 1
Joined: Sat Feb 14, 2015 3:15 pm

Router with IP Camera & DVR

Sat Feb 14, 2015 3:31 pm

Hi everybody,

Brand new on here and brand new to the awesome world of MikroTik routers!

Basically I have a very simple setup, 1 single channel DVR, 1 IP camera and 1 MikroTik MAP2n small 2 channel wireless router.
My aim is to plug the DVR & the Camera into the small router with cables then access them via the wireless connection.

I can get onto the router no problem via wireless and when i plug the DVR into it, a quick IP scan shows that the router knows the DVR is present. That said, I am unable to browse to it via Chrome, I can only get up the router page. Other than the local wireless connection I wont be logging into this system remotely.

My question is,
1. Do the IP's I choose need to be in the same range as the router? Lets use the default: 192.168.88.1 that's printed on the box. Would I need to set the camera for example 192.168.88.22 and the DVR 192.168.88.15 and the gateway would be 192.168.88.??

2. Do i need to forward any ports because i do not need to access remotely? If I do, how do I know which ones?

3 Is there something other than the above that I am missing?

Thank you in advance, and sorry if it seems a little remedial. I've been trying my best to read up with not much luck :(
 
User avatar
davidnvega
just joined
Posts: 19
Joined: Wed Aug 28, 2013 11:11 pm
Location: San Juan, Argentina
Contact:

Re: Router with IP Camera & DVR

Thu Feb 19, 2015 1:10 am

1. Do the IP's I choose need to be in the same range as the router? Lets use the default: 192.168.88.1 that's printed on the box. Would I need to set the camera for example 192.168.88.22 and the DVR 192.168.88.15 and the gateway would be 192.168.88.??
Yes, the IPs that you choose need to be in the network range 192.168.88.2-192.168.88.254, and the gateway should be 192.168.88.1 in this case. The default configuration have a dhcp-server setting, if you set your dvr/ip as a dhcp-client you don't need to make this configuration.
2. Do i need to forward any ports because i do not need to access remotely? If I do, how do I know which ones?
Yes, you have to forwards all ports that you need. You have a masquerade for all traffic that goes out by wan interface.
You should make one rule for each port and protocol that you want to forward. That is for e.g.

/ip firewall nat chain=dstnat protocol="protocol you need (tcp or udp)" dst-port="port that you need" action=dst-nat to-addresses="IP CAM/ NVR address" to-ports=""

3 Is there something other than the above that I am missing?
Learn about networks and then reset default configuration and customize your configuration.

Regards
Sorry for my English, I speak Spanish.
 
travisres
just joined
Posts: 17
Joined: Wed May 29, 2013 11:53 pm

Re: Router with IP Camera & DVR

Sat Feb 21, 2015 1:22 am

Just a correction (I think) unless I'm misunderstanding your question.

Yo do NOT have to do any port forwarding if you are only accessing the camera / DVR from the local network. If you set your DVR and IP camera to receive an IP from the built in DHCP server, everything should be able to "see" eachother if you are looking for them.

If you want a static IP on the camera / DVR, I would assign it via the routerboard DHCP server rather than on the units themselves. This way in the future if you change out your router, or want to change you IP range, you don't have to access 3 devices to do so.
 
AliYashar
just joined
Posts: 21
Joined: Sat Mar 13, 2010 5:52 pm

Re: Router with IP Camera & DVR

Wed Feb 25, 2015 1:07 pm

Hi,
I have another problem with Port Forwarding.
I have Static IP on Mikrotik Router, OS version : 6.27 , Rb951G-2HnD
port forwarding is working fine and DVR Authentication page will be loaded from remote side (Outside), but when I enter User/Pass, shows me " Authentication Failed " when I try to connect from LAN side (with same username/pass, but Private IP) its working fine and successfully login.

Is there any role I have add into Firewall for passing Authentication Request ?

Thank You
AliYahsar
 
User avatar
davidnvega
just joined
Posts: 19
Joined: Wed Aug 28, 2013 11:11 pm
Location: San Juan, Argentina
Contact:

Re: Router with IP Camera & DVR

Thu Feb 26, 2015 3:38 am

Hi,
I have another problem with Port Forwarding.
I have Static IP on Mikrotik Router, OS version : 6.27 , Rb951G-2HnD
port forwarding is working fine and DVR Authentication page will be loaded from remote side (Outside), but when I enter User/Pass, shows me " Authentication Failed " when I try to connect from LAN side (with same username/pass, but Private IP) its working fine and successfully login.

Is there any role I have add into Firewall for passing Authentication Request ?

Thank You
AliYahsar

Maybe your DVR has a rule for access from a local network.
Sorry for my English, I speak Spanish.
 
imagica
newbie
Posts: 26
Joined: Sun Sep 09, 2012 10:17 pm

Re: Router with IP Camera & DVR

Thu Feb 26, 2015 5:45 am

You need to forward both TCP/UDP on Mikrotik to your DVR correctly also for some DVR's i have observed they work fine when they are added into DMZ.

Who is online

Users browsing this forum: Google [Bot] and 35 guests