Avast
Skip to main content
  • For home For home Products for PC and mobile phone protection
  • For business For business Protect your business with Avast
  • For partners For partners Partner with Avast and boost your business
  • About us About us Careers, investors, media, contact
  • Blogs Academy, Blog, Decoded, Forum
  • Indonesia (English)
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
    • Home office
      1-10 seats
      Protect up to 10 devices, including laptops, mobile, computers, and tablets with Small Office Protection.
    • Small Businesses
      11-100 seats
      Essential, Premium, or Ultimate Business Security managed from integrated, cloud-based Business Hub platform.
    • Speciality 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
    • Reseller portal
For partners
  • Smart Life
  • Mobile Security
  • VPN
  • Threat Intelligence
  • Knowledge Center
About us
  • About Avast
      • About Avast
      • Company FAQs
  • Careers
  • Privacy
      • Privacy
      • Expert guides
      • Privacy blogs
  • Digital trust
  • Press center
      • Press releases
      • Events
      • In the news
      • Media materials
      • PR contacts
  • Investors
    • Our story
      • At a glance
      • Strategy
      • Technology expertise
      • Leadership
      • History
    • Investors
      • Overview
      • Growth & competitive advantage
      • IPO information
      • Regulatory news
      • Share price & tools
      • Corporate governance
      • Investor contacts
      • Financial calendar
      • Results, reports & presentations
      • Analyst consensus
      • Shareholder information
      • Contact us
  • Awards
  • Diversity & Inclusion
      • Diversity & Inclusion
      • Accessibility
  • 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
  • Avast Research Lab Explore more about AI in cybersecurity

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)

Enabling auto-connect in Avast SecureLine VPN

 

This article explains how to configure Avast SecureLine VPN to turn on automatically when your device connects to an untrusted or unsecured Wi-Fi network, such as in a cafe or airport.

The steps in this article only apply if you use Avast SecureLine VPN in Manual VPN Mode. If you use Smart VPN Mode, refer to the following article for information about managing your auto-connect settings: Avast SecureLine VPN for Windows and Mac - Getting Started.

Enable auto-connect

  1. Open Avast SecureLine VPN and go to ☰ Menu ▸ Settings.
  2. Tick the box next to Automatically when connected to the Internet.
  3. If you do not want Avast SecureLine VPN to automatically turn on when you connect to a private network (such as your home or work network), ensure the box next to Exclude private networks is ticked.

Avast SecureLine VPN now turns on automatically when your PC connects to a public Wi-Fi network. In most cases, Avast SecureLine VPN can detect if a network is private or public and apply the appropriate settings.

If Avast SecureLine VPN incorrectly classifies a network, you can manually specify that your current network is public or private by clicking the Edit networks button next to Exclude private networks.

For more information, refer to the Manage public and private networks section of this article.
  1. Open Avast SecureLine VPN and go to ☰ Menu ▸ Preferences.
  2. Tick the box next to Automatically when connected to the Internet.
  3. If you do not want Avast SecureLine VPN to automatically turn on when you connect to a trusted network (such as your home or work network), ensure the box next to Exclude trusted networks is ticked.

Avast SecureLine VPN now turns on automatically when your Mac connects to an unsecured network. An unsecured network is any network that is not on your list of Trusted Networks.

To learn how to add a network to your list of trusted networks, refer to the Add a trusted network section of this article.

  1. Tap the Avast SecureLine icon on the Home screen of your device. The app opens.
  2. Tap Settings (the gear icon) ▸ Auto Connect.
  3. Tap the gray (Off) slider at the top of the screen so that it changes to green (On).
  4. Select your preferred option:
    • Unsecured Wi-Fi: The VPN turns on automatically when your Android device connects to an unsecured network. An unsecured network is any network that is not on your list of trusted networks.
    • Any Wi-Fi: The VPN turns on automatically when your Android device connects to any Wi-Fi network.
    • Any Wi-Fi or cellular data: The VPN turns on automatically when your Android device connects to any Wi-Fi or cellular data network.
  5. If prompted, tap Allow and follow the on-screen instructions to allow Avast SecureLine VPN to access your location.

Avast SecureLine VPN now turns on automatically according to the preference you selected.

To learn how to add a network to your list of trusted networks, refer to the Add a trusted network section of this article.

  1. Tap the SecureLine icon on the Home screen of your device. The app opens.
  2. Go to Settings (the gear icon) ▸ Auto Connect.
    If the Auto Connect option is unavailable, Avast SecureLine VPN may not have permission to connect automatically. To grant the necessary permissions, tap Connect on the main app screen and follow the on-screen instructions.
  3. Select your preferred option:
    • When I connect to Wi-Fi: The VPN turns on automatically when your iOS device connects to any Wi-Fi network.
    • When I connect to Wi-Fi or cellular data: The VPN turns on automatically when your iOS device connects to any Wi-Fi or cellular data network.

Avast SecureLine VPN now turns on automatically according to the preference you selected.

If you do not want Avast SecureLine VPN to automatically turn on when you connect to a private network (such as your home or work network), you can add the private network to your list of trusted networks. For instructions, refer to the Add a trusted network section of this article.

Add a trusted network

You can add private networks, such as your home or work Wi-Fi, to your list of trusted networks. These trusted networks are excluded from your VPN auto-connect settings. To add a private network to the trusted networks list:

  1. Open Avast SecureLine VPN and go to ☰ Menu ▸ Preferences.
  2. Ensure VPN mode and Manual VPN Mode are selected. Or click Network security in the left panel on systems running Apple macOS 10.14 or earlier.
  3. Ensure the box next to Exclude trusted networks is ticked.
  4. Click Edit networks.
  5. Click Add to trusted networks next to your current network.
  6. Your current network now appears on your list of trusted networks. Click Close to return to the main Avast SecureLine screen.

You can add private networks, such as your home or work Wi-Fi, to your list of trusted networks. These trusted networks are excluded from your VPN auto-connect settings. To add a private network to the trusted networks list:

  1. Open Avast SecureLine VPN and go to Settings (the gear icon) ▸ Auto Connect.
  2. Tap Trusted networks.
  3. Tap the + plus icon next to your current network.

Your current network now appears on your list of trusted networks.

You can add private networks, such as your home or work Wi-Fi, to your list of trusted networks. These trusted networks are excluded from your VPN auto-connect settings. To add a private network to the trusted networks list:

  1. Open Avast SecureLine VPN and go to Settings (the gear icon) ▸ Auto Connect.
  2. Tap Trusted networks.
  3. Tap the + plus icon next to your current network.

Your current network now appears on your list of trusted networks.

Manage public and private networks

To manually define whether a network is public or private:

  1. Open Avast SecureLine VPN and go to ☰ Menu ▸ Settings.
  2. Ensure VPN mode and Manual VPN Mode are selected. Or click Network security in the left panel on systems running Windows 8 or Windows 7.
  3. Ensure the box next to Exclude private networks is ticked.
  4. Click Edit networks.
  5. Use the slider to define whether your current network is Public or Private, then click Close.

The current network is now defined according to your preferences.

Disable auto-connect

  1. Open Avast SecureLine VPN and go to ☰ Menu ▸ Settings.
  2. Ensure that VPN mode and Manual VPN Mode are selected. Or click Network security in the left panel on systems running Windows 8 or Windows 7.
  3. Untick the box next to Automatically when connected to the internet.

Avast SecureLine VPN no longer turns on automatically when your PC connects to a public network. To re-enable this option, refer to the Enable auto-connect section in this article.

  1. Open Avast SecureLine VPN and go to ☰ Menu ▸ Preferences.
  2. Ensure VPN mode and Manual VPN Mode are selected. Or click Network security in the left panel on systems running Apple macOS 10.14 or earlier.
  3. Untick the box next to Automatically when connected to the internet.

Avast SecureLine VPN no longer turns on automatically when your Mac connects to an unsecured network. To re-enable this option, refer to the Enable auto-connect section in this article.

  1. Open Avast SecureLine VPN and go to Settings (the gear icon) ▸ Auto Connect.
  2. Tap the green (On) slider at the top of the screen so that it changes to gray (Off).

Avast SecureLine VPN no longer turns on automatically. To re-enable this option, refer to the Enable auto-connect section in this article.

  1. Open Avast SecureLine VPN and go to Settings (the gear icon) ▸ Auto Connect.
  2. Select Never.

Avast SecureLine VPN no longer turns on automatically. To re-enable this option, refer to the Enable auto-connect section in this article.

Disable battery optimization

You can turn off the battery optimization setting for better VPN performance.

  1. Open Avast SecureLine VPN and go to Settings (the gear icon) ▸ Auto Connect.
  2. Tap Battery optimization setting.
  3. Tap Open settings to go to your device settings.
  4. Use the arrow to change the category from Apps not optimized to All.
  5. Scroll to Avast SecureLine and tap the blue (ON) slider to gray (OFF).

Battery optimization is now disabled.

  • Avast SecureLine VPN 5.x for Windows
  • Avast SecureLine VPN 4.x for Mac
  • Avast SecureLine VPN 6.x for Android
  • Avast SecureLine VPN 6.x for iOS
  • 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, 32 / 64-bit
     
  • Apple macOS 12.x (Monterey)
  • Apple macOS 11.x (Big Sur)
  • Apple macOS 10.15.x (Catalina)
  • Apple macOS 10.14.x (Mojave)
  • Apple macOS 10.13.x (High Sierra)
  • Apple macOS 10.12.x (Sierra)
     
  • Google Android 6.0 (Marshmallow, API 23) or later
     
  • Apple iOS 14.0 or later
  • Compatible with iPhone, iPad, and iPod touch


Updated on: 02/06/2022

Was this article helpful?

Need additional help?

Contact us
Avast logo
Indonesia (English)
For home
  • Support
  • Security
  • Privacy
  • Performance
  • Blog
  • Forum
For business
  • Business support
  • Business products
  • Business partners
  • Business blog
  • Affiliates
For partners
  • Mobile Carriers
Company
  • Contact Us
  • Investors
  • Careers
  • Press Center
  • Diversity & Inclusion
  • Digital trust
  • Technology
  • Research Participation
1988-2023 Copyright Avast Software s.r.o.
Privacy policy Products policy Legal Report vulnerability Contact security Modern Slavery Statement Do not sell my info Subscription details