Avast
Skip to main content
  • For home For home Products for PC and mobile phone protection
  • For partners For partners Partner with Avast and boost your business
  • About us About us Careers, media, contact
  • Blogs Academy, Blog, Decoded, Forum
  • South Africa
For home
  • Security
    • Free Antivirus
      Basic protection for all your devices
      Free Antivirus
      Basic protection for all your devices
      Free Antivirus
      Basic protection for all your devices
      Free Antivirus
      Basic protection for all your devices
    • Premium Security
      Complete protection against all internet threats
    • Ultimate
      Our best security, privacy, and performance apps in one package

    Looking for a product for your device? Free Antivirus for PC, Free Security for Android, Free Security for Mac, Free Security for iPhone/iPad

    Looking for a product for your device? Free Antivirus for PC Free Security for Mac Free Security for Android Free Security for iPhone/iPad

  • Privacy
    • SecureLine VPN
      Encrypt your connection to stay safe on public networks
    • AntiTrack
      Disguise your digital fingerprint to avoid personalized ads
    • Secure Browser
      Secure, private, and easy to use web browser
    • Secure Browser PRO
      Unlock the full potential of Avast Secure Browser and fully encrypt your online activity
    • BreachGuard
      Protect your personal info from being exposed and sold
    • Online Security & Privacy
      Privacy and security browser extension from Avast
  • Performance
    • Cleanup Premium
      Boost your computer’s speed and performance
      Cleanup Premium
      Boost your computer’s speed and performance
      Cleanup Premium
      Boost your computer’s speed and performance
      Cleanup Premium
      Boost your computer’s speed and performance
    • Driver Updater
      Automatically update drivers with a single click
  • Store
  • Home
  • Support
  • Store
  • Account
For business
  • Products
    • Small & Home
      Office
      1-10 devices
      Protect up to 10 devices, including laptops, mobile, computers, and tablets with Small Office Protection.
    • Small Businesses
      11+ devices
      Essential, Premium, or Ultimate Business Security managed from integrated, cloud-based Business Hub platform.
    • Specialized products
      • Patch Management
      • Cloud Backup
      • Premium Remote Control
      • Antivirus for Linux
      • CCleaner

    Not sure which solution is right for your business?

    Help me choose
  • Business partners
    • Partnership opportunities
      • MSPs
      • Resellers
      • Distributors
      • Affiliates
    • Solutions for MSPs
      • Business Hub Security Platform
      • Cloud Network Security
      Shop by vertical
      • Education
    Become a partner
    Partner locator
  • Resources
  • Trials
  • Store
  • Home
  • Contact sales
  • Support
  • Store
  • Account
    • Business Hub
    • CloudCare
    • Partner Portal
For partners
  • Smart Life
  • Mobile Security
  • VPN
  • Threat Intelligence
  • Knowledge Center
About us
  • About Avast
  • Careers
  • Privacy
      • Privacy
      • Expert guides
      • Privacy blogs
  • Digital trust
  • Press center
      • Press releases
      • Events
      • In the news
      • Media materials
      • PR contacts
  • Awards
  • Contact us
  • Blogs
  • Avast Blog Read about recent news from the security world
  • Avast Academy Expert tips and guides about digital security and privacy
  • Avast Decoded In-depth technical articles regarding security threats
  • Avast Forum Discuss with the community

List of available regions

Main regions
  • Worldwide (English)
  • Europe (English)
  • América Latina (español)
AMERICAS
  • Argentina
  • Brasil
  • Canada (English)
  • Canada (français)
  • Chile
  • Colombia
  • EE.UU. (español)
  • México
  • USA (English)
  • América Latina (español)
EUROPE, MIDDLE EAST & AFRICA
  • België (Nederlands)
  • Belgique (français)
  • Česká republika
  • Danmark
  • Deutschland
  • España
  • France
  • Italia
  • Magyarország
  • Nederland
  • Norge
  • Polska
  • Portugal
  • Schweiz (Deutsch)
  • Slovensko (česky)
  • South Africa
  • Suisse (français)
  • Suomi
  • Sverige
  • Türkiye
  • United Arab Emirates
  • United Kingdom
  • Ελλάδα
  • ישראל
  • Казахстан
  • România
  • Россия
  • Україна (українська)
  • Украина (русский)
  • المملكة العربية السعودية
  • الدول العربية
  • Europe (English)
ASIA & PACIFIC
  • Australia
  • India
  • इंडिया (हिंदी)
  • Indonesia (English)
  • Indonesia (Bahasa Indonesia)
  • Malaysia (English)
  • Malaysia (Bahasa Melayu)
  • New Zealand
  • Philippines (English)
  • Pilipinas (Filipino)
  • Singapore
  • Việt Nam
  • 日本語
  • 대한민국
  • 简体中文
  • 繁體中文
  • ประเทศไทย
  • Worldwide (English)

Setting up Firewall Application rules in Avast Antivirus

 

Firewall creates application rules each time an application or process starts for the first time. These rules determine how Firewall behaves toward each application or process when it connects to the internet or to another network. Advanced users can set connection allowances for each individual app to determine how strictly Firewall monitors any incoming or outgoing communication.

We recommend you only modify your application rules if absolutely necessary. In most cases, Firewall formulates optimal rules without your input.

Access application rules

  1. Open Avast Antivirus and go to Protection ▸ Firewall.
  2. Click Settings (the gear icon) in the top-right corner of the screen.
  3. Click View Firewall rules.
  4. Select the Application rules tab.

The Application rules screen lists all of your current application rules.

To search for a specific rule, or view only the rules that meet certain criteria, go to More ▸ Filter rules.

If an application has not yet made a connection attempt, it does not appear on the Application rules screen because it does not yet have assigned application rules.

You can specify the rules that Firewall applies for apps that do not yet have assigned application rules via ☰ Menu ▸ Settings ▸ Protection ▸ Firewall ▸ How should Firewall treat new apps?.

For more information about the the application rule parameters, refer to the Review application rules section. To learn how to modify your existing application rules, or create new application rules, refer to the Configure application rules section.

Review application rules

Default application rules are created when an app tries to connect to the internet or to another network for the first time.

Each rule is defined by the following parameters:

  • Name: Displays the name of the rule.
  • Action: Indicates the action that Firewall takes when this rule is applied. Firewall may apply the following actions:
    • Smart mode: Firewall determines the appropriate action based on the trustworthiness of the app.
    • Allow: Firewall allows the connection attempt.
    • Block: Firewall blocks the connection attempt.
    • Ask: Firewall prompts you to manually allow or deny the connection attempt.
  • Protocol: Indicates the network protocol the rule applies to. One protocol may be selected, or All if the rule applies to all protocols.
  • Direction: Indicates whether the rule applies to incoming connections (In), outgoing connections (Out), or to connections in both directions (In/Out).
  • Address: Indicates the source or destination IP address the rule applies to. The rule may apply to a single IP address, multiple IP addresses (separated by commas), or an IP address range (starting with the lowest IP address and separated with a dash). If the field is blank, the rule applies to all IP addresses.
  • Local port: Indicates a network port number on the local IP address of your PC's network interface. The rule may apply for a single port number, multiple ports (separated by commas), or a port range (starting with the lowest port number and separated with a dash). If the field is blank, the rule applies to all local ports.
  • Remote port: Indicates a network port number on the remote IP address of the external server or device. The rule may apply for a single port number, multiple ports (separated by commas), or a port range (starting with the lowest port number and separated with a dash). If the field is blank, the rule applies to all remote ports.
    An application may need to communicate with a specific remote port in order to function. For example, your internet browser usually needs port 443, as this is the default port used for HTTPS (secure HTTP). To verify the remote port that is required by a particular application, contact the application vendor or refer to the application's support pages.
  • ICMP Type: Indicates the control message (represented by a code number) that the rule applies to. The rule may apply to a single code number, or multiple codes (separated by commas). This option is only available for connections based on the Internet Control Message Protocol (ICMP). The code numbers of control messages are listed in the technical specifications of the ICMP (RFC 792).

Configure application rules

Click the down arrow next to an application or process to view its current rules.

The following options are available for each application or process:

  1. Disable or enable a rule: Click the slider next to a rule to disable/enable it.
  2. Delete a rule: Click Remove (the trash icon) next to the relevant rule.
  3. Edit a rule: Click Edit (the pencil icon) in the panel for the relevant rule. Edit the relevant parameters, then click Save to confirm.
  4. Change rule priorities: Application rules are listed in order of priority, which means that although multiple rules may relate to one application or process, the rule which appears highest in the table is always applied first. Click and drag the relevant row up or down to adjust the priority of the selected rule.
  5. Add a new rule: Click the Add new rule button to create a rule that applies for the selected application or process. Define each of the parameters, then click Save to confirm.
  • Avast Premium Security 23.x for Windows
  • Avast Free Antivirus 23.x for Windows
  • Microsoft Windows 11 Home / Pro / Enterprise / Education
  • Microsoft Windows 10 Home / Pro / Enterprise / Education - 32 / 64-bit
  • Microsoft Windows 8.1 / Pro / Enterprise - 32 / 64-bit
  • Microsoft Windows 8 / Pro / Enterprise - 32 / 64-bit
  • Microsoft Windows 7 Home Basic / Home Premium / Professional / Enterprise / Ultimate - Service Pack 1 with Convenient Rollup Update, 32 / 64-bit


Updated on: 02/06/2022

Was this article helpful?

Need additional help?

Contact us
Avast logo
South Africa
For home
  • Support
  • Security
  • Privacy
  • Performance
  • Blog
  • Forum
For partners
  • Mobile Carriers
Company
  • Contact Us
  • Careers
  • Press center
  • Digital trust
  • Technology
  • Research Participation
Avast logo © 2025 Gen Digital Inc. All rights reserved.
Privacy policy Products policy Legal Report vulnerability Contact security Modern Slavery Statement Do not sell my info Subscription details