Community discussions

MikroTik App
 
Zondai1
just joined
Topic Author
Posts: 1
Joined: Fri Jun 01, 2018 10:04 am
Location: SA

Port forwarding dvr with mikrotik router.

Fri Jun 01, 2018 11:41 am

Good day, I am trying to port forward my dvr. I have made this rules,/ip firewall nat
chain=srcnat action=src-nat out-interface=ether2 to-addresses=192.168.3.2
add chain=dstnat action=dst-nat protocol=tcp dst-port=5901 to-addresses=192.168.3.14,but when I want to apply the action,it does not allow me it says error ,
action= dst address dvr ip and port88 I cant apply this rule it's giving me an error. What might be the problem, do I need to disable any thing for it to work can some one help please.
 
passarelli
just joined
Posts: 14
Joined: Wed Mar 15, 2017 10:03 pm

Re: Port forwarding dvr with mikrotik router.

Mon Jun 04, 2018 11:05 pm

Hi Zondai1,
Let me understand a little more, you are trying to create a port forwarding to access you DVR from remote location, aren't you?
If, you are, you do not need srcnat to create port forward to your DVR.
Add the rule bellow:
ip firewall nat add chain=dstnat action=dst-nat to-addresses=YOUR-DVR-PRIVATE-IP protocol=PROTOCOL dst-address=YOUR-PUBLIC-IP dst-port=DVR-PORT