Well the firewall that you choose ( not the windows firewall as nothing needs to be added for it to work with avast ) you add the program folder to the exclusions list in the file system shield of avast then in the applications list of your firewall there should be three avast services - setup, gui, services - make sure that those three services are set to allow all.
You dont need to add anything for the free version of malwarebytes either.