First, answer the following checklist to determine what's wrong. If ans to Q1 is yes, go to Q2 and so on.
1. Can you view IP cam from your PC using LAN IP of the IP-cam? If not, even the basic setup of the cam is not done correctly.
2. Can you view IP cam from your PC (or friend's PC) using WAN IP of the IP-cam? (WAN IP is the IP assigned by ISP to your router/PC) If not, the routing is not done correctly.
3. Can you view IP cam using hostname you register from DDNS service provider (say dyndns.org)? If not, the DDNS setting is not done correctly.
4. Can you view IP cam from your office network (either by hostname or WAN IP address)? If not, the firewall of your office blocks the required ports.
Q1: I can view my cam in my PC.
Q2 : Yes. I can use the ip address to view the cam.
Q3 : No. I don't know whether my DDNS setting is correct. Could you mind to teach me! Thanks.
Q4 : Not yet try.
Q1: I can view my cam in my PC.
Q2 : No. Is My router setting has problem?
Q3 : No. I don't know whether my DDNS setting is correct. Could you mind to teach me! Thanks.
Q4 : Not yet try.
As you cannot view your IP-cam using the WAN IP, that means you have not set up the router correctly to route viewing request from internet (e.g. office) to your IP-cam. Have you set up port-forwarding in your router to forward the HTTP port used by your cam? If not, tell me what port have you set your IP-cam to use, and the model of router you use.
First you need to set up the port-forward function. For DI-524UP, go to Advanced menu, then choose virtual server. Fill in the following -
Select "Enable"
Server Name : IP-cam (or whatever you want)
LAN IP address : IP address of cam (e.g. 192.168.1.3)
Protocol : TCP
LAN port : 800
WAN port : 800
Schedule : forever
Click "apply" when finished.
If your setup is correct, you may be able to access your IP-cam using both your LAN IP and WAN IP. (e.g. LAN IP is 192.168.1.3, and WAN IP is 202.142.12.82)
From your previous answer, you can access your cam by http://192.168.1.3:800, now in addition to that, you should also be able to access your cam by http://202.142.12.82:800. This address can also be used by your friend to access your IP-cam from their home!
When you succeed, I will tell you how to set up DDNS so you can use text address instead of remembering the numerical IP address.
If your router supports DDNS, you should enable the DDNS function in your router, and enter your registration details in the DDNS setup page in your router, namely the DDNS service provider (e.g. dyndns.org), your account username, password, the domain name you have registered. If set up correctly, every time when your router connects to your ISP with a different IP, it will connect to DDNS service and update the IP address used for the registered domain name.