Hi guys.
I was wondering if someone can help me.
I’m able to open my office router page in home by entering DNS page and right port number.
no problem, I can open my webfig and UM page via remote computer.
The problem is to open DVR or CCTV’s page.
If I’m gonna open my CCTV’s page over my local network I will enter:
192.168.20.123
and when I enter user and password i can access my CCTVs.
for port forwarding I will forward my 9876 port to my cctv’s address and port 80.
so by entering:
mydnsname.net:9876 i will redirect to my cctv. and you should know my DVR is using port: 8000 to transmit data over network.
the problem is here that when i enter user and password it says:
Get data from server failed.
so I forward 8000 port to my cctv’s address and port 80. after that:
Not enough buffer size
So can anyone tell me how to forward right ports and is there anything i’m missing?
Bro,
Follow the Steps you need add the same for rstp and mobile dst ports.
chain=dstnat action=dst-nat to-addresses=172.168.100.145 to-ports=80 protocol=tcp dst-address=202.x.x.x in-interface=WAN dst-port=8082 (http)
chain=dstnat action=dst-nat to-addresses=172.168.100.145 to-ports=554 protocol=tcp dst-address=202.x.x.x in-interface=WAN dst-port=554 (Rtsp)
chain=dstnat action=dst-nat to-addresses=172.168.100.145 to-ports=8000 protocol=tcp dst-address=202.x.x.x in-interface=WAN dst-port=8000 (Mobile)
Rajesh R
That’s great.
Thanks for quick reply Rajesh 
All you need is to forward 2 ports:
1 of them to you CCTV (xxxx to 80)
another one to the port which is transmitting (8000 to 8000)
Yes,
RTSP Port Also needed to stream the content.
Hi
I have two CCTV devices on two different IP (192.168.0.10 and 192.168.0.20)
I followed Rajesh’s sample below:
chain=dstnat action=dst-nat to-addresses=172.168.100.145 to-ports=80 protocol=tcp dst-address=202.x.x.x in-interface=WAN dst-port=8082 (http)
chain=dstnat action=dst-nat to-addresses=172.168.100.145 to-ports=554 protocol=tcp dst-address=202.x.x.x in-interface=WAN dst-port=554 (Rtsp)
chain=dstnat action=dst-nat to-addresses=172.168.100.145 to-ports=8000 protocol=tcp dst-address=202.x.x.x in-interface=WAN dst-port=8000 (Mobile)
This works fine but I have another device so I am not sure if I should use the same port?
192.168.0.20 uses 8000 port thats why I can follow the code above
192.168.0.20 uses 7000 port so how do i configure its dst nat?
Thanks