Access private IP from Public internet

hi,
i would like to access DVR in internal network from internet, and also i have couple more DVRs in internal network in different buildings.
Option1: i would like to install DNS server and point my external example.com DNS name to DNS server then DVR name as host name in DNS server
Option2: give more public IPs in LAN D-link routers and point dynamic DNS name to them.

could you please suggest me which one is best and reliable for me.

thank you
cctv.jpg

Why not just NAT ports from the existing public IP to the DVRs?

sorry, I am not good in mikrotik configuration. could you please help me to do that?

thank you,

ven

What port is the DVR on?

/ip firewall nat
add action=dst-nat chain=dstnatdst-port=DVRPORT in-interface=ether01-gateway protocol=tcp to-addresses=DVRIPSomething like this…

hi DVR on 192.168.1.2 and media port is 9000 and web port on 80


thank you

ven

First you will need to route the 192.168.1.x net to the D-Link device. In the RB450G:

/ip route
add dst-address=192.168.1.0/24 gateway=10.20.20.10

Insure you can connect to the DVR from a localnet on the RB450. Then add these two rules:

/ip firewall nat

add chain=dstnat action=dst-nat dst-address=175.x.8.x dst-port=80 to-addresses=192.168.1.2 to-ports=80 proctocol=tcp

add chain=dstnat action=dst-nat dst-address=175.x.8.x dst-port=9000 to-addresses=192.168.1.2 to-ports=9000 proctocol=tcp