I can't see my IP cameras
Hello,
I have two IP cameras in my company and I would like to connect the cameras from home but I can't. I applied commands that I listed below. I wonder if tehere is a mistake in the commands.
Have a nice day
iptables -I INPUT -s 80.200.111.40/24 -p tcp --dport 8050 -j ACCEPT
iptables -I INPUT -s 80.200.111.40/24 -p tcp --dport 8051 -j ACCEPT
iptables -A FORWARD -p tcp -d 80.200.111.40 --dport 8050 -j ACCEPT
iptables -A FORWARD -p tcp -d 80.200.111.40 --dport 8051 -j ACCEPT
iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 8051 -j DNAT --to-destination 80.200.111.40:8051
iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 8050 -j DNAT --to-destination 80.200.111.40:8050
Last edited by emin13; 12-11-2013 at 06:42 AM.
|