Hello for all..!
so i have a RB951 and i am trying to apply hairpin nat to see my duhua nvr that have the ip address 192.168.1.122 and port 38888 from inside my local network, i apply the rule below as you will see and it works..! but there is a huge delay in the video stream from nvr.
from outside using public ip there is no dealy.
also from inside using local ip also there is no delay.
but when i open it from inside using the public ip here is the problem happen -alot of delay-
anyone have any idea about how i can get rid of this problem..?
after a lot of rsearch i come with this Split DNS thing that i have to apply to avoid this problem..! well but actually i don't know what this split DNS in the first Place, so anyone
can give an advise or explaination about how can i config this split DNS in my router..?
here is my NAT config
/ip firewall nat
add action=masquerade chain=srcnat disabled=yes dst-address=192.168.2.2 \
out-interface=Bridge protocol=tcp src-address=192.168.1.0/24 \
to-addresses=192.168.2.2
add action=masquerade chain=srcnat dst-address=192.168.1.122 dst-port=38888 \
out-interface=Bridge protocol=tcp src-address=192.168.1.0/24 \
to-addresses=192.168.2.2
add action=dst-nat chain=dstnat dst-address=192.168.2.2 dst-port=38888 \
protocol=tcp to-addresses=192.168.1.122 to-ports=38888
also here is my router config ..