Hello, I have an unlimited plan for mobile data and an android device with root enabled used as hotspot. I'm able to connect ip camera (IP4M-1051W) in the local net, but I'm trouble to configure it for an external access. I read about the possibility of it with devices with root privileges by using iptables for port forwarding, but I haven't been successful for now. I'm asking here to know if someone has been able to configure it.
A doubt to be clarified is if I have to configure iptables for local device ip address, or for public ip with camera port, but in this last case I have to use a DDNS... Thank you to provide the correct configuration to achieve the external access.
I used the following commands to open the "http_port" for now, but without success:
# iptables -A INPUT -p tcp --dport <http_port> -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
# sysctl net.ipv4.ip_forward=1
# iptables -t nat -I PREROUTING -p tcp --dport <http_port> -j DNAT --to <local_camera_ip>
# iptables -I FORWARD -p tcp -d <local_camera_ip> --dport <http_port> -j ACCEPT
Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
1 post • Page 1 of 1