RTSP DNAT rules for Vivotek cameras

Topology:

WEB [10.0.0.1] – fw1 [1.1.1.1] —– INTERNET —– [2.2.2.2] fw2 – CAMERA [192.168.0.1]

On fw1:

-A PREROUTING -t nat -p udp -d 1.1.1.1 --sport 5500:6000 --dport 30000:31000 -j DNAT --to 10.0.0.1

On fw2:

-A PREROUTING -p tcp -d 2.2.2.2 --dport http -j DNAT --to 192.168.0.1
-A PREROUTING -p tcp -d 2.2.2.2 --dport rtsp -j DNAT --to 192.168.0.1
-A PREROUTING -p udp -d 2.2.2.2 --dport rtsp -j DNAT --to 192.168.0.1
avatar

About tompos

Hungary, Budapest
This entry was posted in IT. Bookmark the permalink.

Leave a Reply