Hi all,
This is a newbie question.
I have a RouterBoard 450G, running RouterOS 5.11. I'm trying to put an IP camera on
the LAN, and access it on our WAN network.
Camera IP = 192.168.88.51
WAN interface IP = 192.168.1.117
The camera uses 3 ports:
Port 6080 = camera web server
Port 6001 = camera control
Port 6002 = camera streaming
To access camera from the WAN, I have implemented a masquerade rule:
0 chain=srcnat action=masquerade out-interface=ether1-gateway
And destination NAT rules for the 3 ports:
1 ;;; Forward camera web port
chain=dstnat action=dst-nat to-addresses=192.168.88.51 to-ports=6080
protocol=tcp dst-address=192.168.1.117
2 ;;; Forward camera control port
chain=dstnat action=dst-nat to-addresses=192.168.88.51 to-ports=6001
protocol=tcp dst-address=192.168.1.117
3 ;;; Forward camera streaming port
chain=dstnat action=dst-nat to-addresses=192.168.88.51 to-ports=6002
protocol=tcp dst-address=192.168.1.117
From these rules, I can access the camera's web server, but cannot get video.
Then I tried to add source NAT rules for the 3 camera ports:
4 chain=srcnat action=src-nat to-addresses=192.168.1.117 protocol=tcp
src-address=192.168.88.51 src-port=6080
5 chain=srcnat action=src-nat to-addresses=192.168.1.117 protocol=tcp
src-address=192.168.88.51 src-port=6001
6 chain=srcnat action=src-nat to-addresses=192.168.1.117 protocol=tcp
src-address=192.168.88.51 src-port=6002
But still cannot get video. However, I was able to open the 3 camera ports on a
Cisco RVS4000 router/firewall, and it works. Video and full web control of camera.
Any suggestions? Thanks.