Port Forwarding

Hi

I’m using a mikrotik and I’m trying to publish a DVR in the web. What I did was in the firewall menu, in nat rules I create one like this

General

chain:dstnat
Dst Address: My Public-IP
Protocol:6(tcp)
Dst port:8087

Action

Action: dst-nat
To Addresses: DVR IP
To ports: 8082—is the DVR port

And I try to log from web but seems not work but I can see some activity in the packages and bytes columns

Any help would be much appreciated.

Thanks

Did you allow this in Firewall Filter?

I don’t know if this could be of any help, but recently I struggled as well with a DVR which I don’t remember the brand because it was not mine :slight_smile:. Any way, what I did was:

  1. Connect using Internet Explorer, it might require some Active X control available only in Iexplorer.
  2. Activate upnp in routerboard. The DVR I was configuring, after successful login, was opening other ports for streaming and other for controlling it.

That will only work from the internet. If you are trying it from a localnet computer, it won’t work without a hairpin nat.
http://wiki.mikrotik.com/wiki/Hairpin_NAT

@tws101 Where I should do that? in filter rules?

@Caci99 I tried but did not work.

@SurferTim I think I already did it, but I am not pretty sure because I am a beginner in this, I am using winbox and I have created two NAT rules placed in this order:

1- srcnat
Src Address : 192.168.10.0/24
Out interface : wayout
Action: masqueradre

2- chain:dstnat
Dst Address: My Public-IP
Protocol:6(tcp)
Dst port:8087

Action

Action: dst-nat
To Addresses: DVR IP
To ports: 8082—is the DVR port

one rule for inbound routes and the other one for outbound

I guess is the same thing in the hairpin nat.

But it does not work.