What firewall rules are required by Avast Free?

I am using only File Shield with cloud services enabled and I was wondering, what do I have to allow?
I use those at the moment. Registration requires connection to Google, but that is one time deal.

netsh advfirewall firewall add rule name="Avast instup DNS" dir=out action=allow protocol=UDP remoteip=84.200.70.40,84.200.69.80 remoteport=53 program="%ProgramFiles%\AVAST Software\Avast\setup\instup.exe"
netsh advfirewall firewall add rule name="Avast instup TCP" dir=out action=allow protocol=TCP remoteip=2.16.0.0-2.23.255.255 remoteport=80,443 program="%ProgramFiles%\AVAST Software\Avast\setup\instup.exe"
netsh advfirewall firewall add rule name="Avast Svc DNS" dir=out action=allow protocol=UDP remoteip=84.200.70.40,84.200.69.80 remoteport=53 program="%ProgramFiles%\AVAST Software\Avast\AvastSvc.exe"
netsh advfirewall firewall add rule name="Avast Svc TCP" dir=out action=allow protocol=TCP remoteip=5.45.58.0-5.45.58.255,77.234.41.0-77.234.41.255 remoteport=80,443 program="%ProgramFiles%\AVAST Software\Avast\AvastSvc.exe"
netsh advfirewall firewall add rule name="Avast UI DNS" dir=out action=allow protocol=UDP remoteip=84.200.70.40,84.200.69.80 remoteport=53 program="%ProgramFiles%\AVAST Software\Avast\AvastUI.exe"
netsh advfirewall firewall add rule name="Avast UI TCP" dir=out action=allow protocol=TCP remoteip=5.45.58.0-5.45.58.255,77.234.41.0-77.234.41.255 remoteport=80,443 program="%ProgramFiles%\AVAST Software\Avast\AvastUI.exe"

Best you set your FW to “ask” and allow everything related to Avast.

Unfortunately, Windows Firewall does not ask. :-\

Windows FW shouldn’t block Avast.

I block all inbound/outbound, except allowed. I prefer to tighten up rules as much as possible, IP range, ports, etc. It sure helped in CCleaner’s case.

netsh advfirewall set allprofiles state on
netsh advfirewall set DomainProfile firewallpolicy blockinboundalways,blockoutbound
netsh advfirewall set PrivateProfile firewallpolicy blockinboundalways,blockoutbound
netsh advfirewall set PublicProfile firewallpolicy blockinboundalways,blockoutbound

I’d suggest to use a dedicated 3rd party FW then.

I wish, but all good ones are long gone, like Jetico or Private Firewall, even Emsisoft abandoned its own.
I do not trust Comodo, Binisoft does not work, Sphinx is expensive, the rest does not allow advanced rules.

Does this article help ???
https://www.online-tech-tips.com/windows-10/adjust-windows-10-firewall-settings/

Does avast automatically creates firewall rules on its own? Because i think it does.

Check avast FAQ site

Avast Free doesn’t have a firewall. :slight_smile: