To remove the firewall

Go to control panel > programs and features
Select Avast
Select Change

https://dl.dropboxusercontent.com/u/73555776/avast1.JPG

Remove the tick from the element to uninstall and press continue
Reboot on completion

https://dl.dropboxusercontent.com/u/73555776/avast2.JPG