That was discussed a few times in this forum. Here is an example: Remote Access to IP Cameras - #3 by AndrewZ