Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: REDACTED on December 17, 2017, 11:57:45 AM

Title: What firewall rules are required by Avast Free?
Post by: REDACTED on December 17, 2017, 11:57:45 AM
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.

Code: [Select]
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"

Title: Re: What firewall rules are required by Avast Free?
Post by: Asyn on December 17, 2017, 01:19:16 PM
Best you set your FW to "ask" and allow everything related to Avast.
Title: Re: What firewall rules are required by Avast Free?
Post by: REDACTED on December 17, 2017, 02:09:22 PM
Unfortunately, Windows Firewall does not ask.  :-\
Title: Re: What firewall rules are required by Avast Free?
Post by: Asyn on December 17, 2017, 02:37:00 PM
Windows FW shouldn't block Avast.
Title: Re: What firewall rules are required by Avast Free?
Post by: REDACTED on December 17, 2017, 02:39:07 PM
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.

Code: [Select]
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
Title: Re: What firewall rules are required by Avast Free?
Post by: Asyn on December 17, 2017, 03:03:12 PM
I'd suggest to use a dedicated 3rd party FW then.
Title: Re: What firewall rules are required by Avast Free?
Post by: REDACTED on December 17, 2017, 03:08:31 PM
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.
Title: Re: What firewall rules are required by Avast Free?
Post by: bob3160 on December 17, 2017, 03:31:28 PM
Does this article help ???
https://www.online-tech-tips.com/windows-10/adjust-windows-10-firewall-settings/
Title: Re: What firewall rules are required by Avast Free?
Post by: REDACTED on December 17, 2017, 11:48:24 PM
Does avast automatically creates firewall rules on its own? Because i think it does.
Title: Re: What firewall rules are required by Avast Free?
Post by: Pondus on December 18, 2017, 12:03:22 AM
Does avast automatically creates firewall rules on its own? Because i think it does.
Check avast FAQ site

Title: Re: What firewall rules are required by Avast Free?
Post by: bob3160 on December 18, 2017, 12:09:03 AM
Does avast automatically creates firewall rules on its own? Because i think it does.
Avast  Free doesn't have a firewall. :)