The Blizzard downloader needs several ports open to work: TCP 3724, 6112, 6113, 6114, and 4000. If the patcher stalls at zero percent, this is very often why.
Firewall software differs, but the process is consistent. Find the port or application rules section, create a new inbound rule for each TCP port listed above, and allow traffic. Some users find it simpler to add the downloader executable as an allowed program instead of opening ports individually, which achieves much the same result.
Router-level firewalls are a separate layer. If opening software ports does not help, check whether your router is blocking the same ranges, and confirm that Windows' own firewall is not overriding your third-party settings.
Your firewall vendor's website and the documentation that shipped with it will have exact instructions, and Blizzard's support pages maintain a dedicated article on firewall configuration with more detail than a short answer can cover.