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
  • United Arab Emirates
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 Network rules in Avast Antivirus

 

Network rules (previously known as Packet rules) control whether network traffic is allowed or blocked according to the information contained in network packets. This information may include network protocols, source or destination IP addresses, or local and remote ports. Advanced users can manage these rules or create new ones.

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

Access network 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 Network rules tab.

The Network rules screen lists all of your current network rules.

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

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

Review network rules

Default network rules provide the extra security needed when you are using a Public (Untrusted) network. Other predefined network rules are created when you change a rule on the Basic rules screen.

Each rule is defined by the following parameters:

  • Name: Displays the name of the rule.
  • Profile: Indicates which network profile the rule applies to (Public, Private, or All).
  • Action: Indicates the action that Firewall takes when this rule is applied. Firewall may Allow or Block the connection attempt.
  • Protocol: Indicates the network protocol used by the corresponding traffic. 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). For TCP, UDP, or ICMP protocols, this field corresponds to the direction of the first received packet only.
  • 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.
  • 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).
Certain fields are not applicable depending on the Protocol setting, as the availability of certain network rule parameters depends on the technical specifications of protocols.

Configure network rules

To ensure that Firewall provides optimal protection, it is not possible to edit, delete, disable, or change the priorities for default network rules. Default network rules are marked with the lock icon.

From the Network rules screen, you can perform the following actions for any network rules that are not default rules:

  1. Add a new rule: Click More ▸ Add new rule. Define each of the parameters, then click Save to confirm.
  2. Edit a rule: Click Edit (the pencil icon) in the panel for the relevant rule. Edit the relevant parameters, then click Save to confirm.
  3. Delete a rule: Click Remove (the trash icon) in the panel for the relevant rule.
  4. Disable or enable a rule: Click the slider next to a rule to enable/disable it.
  5. Change rule priorities: Network rules are listed in order of priority, which means that although multiple rules may relate to one packet, the rule that 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.
  • 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
United Arab Emirates
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