http://www.akruto.com/firewall-configuration/avast-internet-security-firewall-configuration/
Follow that until you're on "application rules". Then either search or use the filter to find the above files and make sure they're allowed/trusted.