Hi guys,
I spent some time on this problem, and can’t figure what’s going wrong, to be honest, i m not a master on the video stream part, and some input would be welcome.
Here is my problem, i have 10 camera ip behind a mikrotik and i want to acces their stream from internet.
What nat should i use, how should i configure my camera ?
On my camera it seems like i can choose those 4 mode :
Video OCX protocol setting :
RTP over UDP
RTP over RTSP(TCP)
RTSP over HTTP
MJPEG over HTTP
(there is also a multicast one, but i don’t think it’s what i need)
I can access the HTTP port of the camera (and the web interface) from outside, since i made a rule to nat 6001 to 80 for first camera, 6002 for 2nd etc…
Everything else i tried failed…
If you have any idea, i would love to hear it 
Regards
Andy
Depends a lot on the ip camera brand you use. eg: cheap dahua cameras generally offer port 80 for the web and port 37777 for streaming video over either udp/tcp, you need both. I think a lot of onvif cameras use udp port 514 for transporting the video stream in addition to the web interface on 80 so you may also need dst-nat rules to sequential public ports for that as well.
I try to convince people to use VPNs instead and then just use the LAN IPs but I guess you trade one complexity for another!
Yeah, vpn could be a solution, but since it’s on a end user, not really "good"with computers, it’s adding some complexity, and if i could , iwould love to make it work with NAT
As far as i checked, the port use for RSTP is 554, and there is a mjpeg over http port 8008 too.
I m going to try MJPEG over HTTP in the mode selected, and dst nat on the 8008 to see what happens…
If you have any idea, i would love it.
Thanks a lot
Regards,
Andy
I have HD IP cameras (Hikvision) behind a Mikrotik 450G natted. I can attest to the best solution is VPN. Yes, it’s a steep learning curve…why not though…afraid of learning? No worrying about your Internet upload speed or bandwidth to stream HD videos, you’ll have.
I had no foundation in network engineering…was willing to learn, and glad I did. The key in using VPN for me is that I can be in my home with cameras on 24/7 and can still walk around naked without worrying.
At least, you came to the forum…the greatest first step.
Ok it worked, pretty easy solution
Check MJPEG over http, change the MJPEG port on the camera, nat the port, end of story…
Glad you found a “pretty easy solution” eventually you’ll find VPN a pretty easy solution as well.
VPN is an easy solution, and i know how to set it up, it’s really not a problem, but that’s not what i wanted, and didn’t suit the need of the client i m setting that up for 