Open port 443 and 80 on your router.
For more information follow this guide:
http://community.wd.com/t5/WD-My-Cloud/HOW-TO-Troubleshooting-Remote-Connectivity-Issues/m-p/617261#M1130