DVR port forward for camera view on mikrotik

Hello,

How do I port forward to be able to access my DVR from outside the network. I could access it through LAN but not outside.

DVR IP: 172.16.16.15
DVR port: 8921
DVR model: AVTECH

My Router: RB750
On my mikrotik www port is 80
ISP’s IP assigned to my WAN1 is 10.11.11.15(this is not Not Public IP… this ip is under 106.xx.xx.206 public IP)
ISP’s IP assigned to my WAN2 is 202.xx.xxx.51 (this is public IP)
WAN1 + WAN2 is margred for Bandwidth - 1.5Mb+2Mb = 3.5Mb.

Note: when i check my ip using www.who.is its show me : 202.xx.xx.51 & some time 106.xx.xx.206

so please give me A solution. how do i see my camera from any where..

Two nat rules and one firewall rule should do the trick.

Nat rules:

/ip firewall nat
add action=dst-nat chain=dstnat dst-address=106.xx.xx.51 dst-port=8921 in-interface=wan-1 protocol=tcp to-addresses=172.16.16.15 to-ports=8921
add action=dst-nat chain=dstnat dst-address=106.xx.xx.206 dst-port=8921 in-interface=wan-2 protocol=tcp to-addresses=172.16.16.15 to-ports=8921

Filter rule:

/ip firewall filter
add chain=forward dst-address=172.16.16.15 dst-port=8921 protocol=tcp

You can take the in-interface out if you want… or at least name them according to your interface names and make sure that the public IP’s align up with the correct interface.

You can change the dst-port if you don’t want to access it publicly on that port. Allot of people use 8080 for the outside port but that is up to you.