The steps in this article only apply if you use Avast 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 VPN for Windows and Mac - Getting Started.
Enable auto-connect
- Open Avast VPN and go to
☰ Menu ▸ Settings.
- Tick the box next to Automatically when connected to the Internet.

- If you do not want Avast 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 VPN now turns on automatically when your PC connects to a public Wi-Fi network. In most cases, Avast VPN can detect if a network is private or public and apply the appropriate settings.
If Avast 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.
Manage public and private networks
Disable auto-connect
The steps in this article only apply if you use Avast 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 VPN for Windows and Mac - Getting Started.
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:
- Open Avast VPN and go to
☰ Menu ▸ Preferences.
- In the VPN screen, under connecting to untrusted networks, click Edit.

- In the Trusted Network screen, Click Trust next to your current network.

- Your current network now appears on your list of trusted networks. Click Close to return to the main Avast screen.
The steps in this article only apply if you use Avast 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 VPN for Windows and Mac - Getting Started.
Enable auto-connect
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:
Add a trusted network
- Open Avast VPN and go to
Settings (the gear icon) ▸ Auto Connect.
- Tap Trusted networks.

- Tap the + plus icon next to your current network.

Your current network now appears on your list of trusted networks.
Disable auto-connect
- Open Avast VPN and go to
Settings (the gear icon) ▸ Auto Connect.
- Tap the green (On) slider at the top of the screen so that it changes to gray (Off).

Avast 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.
- Open Avast VPN and go to
Settings (the gear icon) ▸ Auto Connect.
- Tap Battery optimization setting.

- Tap Open settings to go to your device settings.
- Use the arrow to change the category from Apps not optimized to All.

- Scroll to Avast VPN and tap the blue (ON) slider to gray (OFF).
Battery optimization is now disabled.
The steps in this article only apply if you use Avast 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 VPN for Windows and Mac - Getting Started.
Enable auto-connect
- Tap the Avast VPN icon on the Home screen of your device. The app opens.

- Go to
Settings (the gear icon) ▸ Auto Connect.
If the Auto Connect option is unavailable, Avast 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.
- 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 VPN now turns on automatically according to the preference you selected.
If you do not want Avast 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.
Disable auto-connect
- Open Avast VPN and go to
Settings (the gear icon) ▸ Auto Connect.
- Select Never.

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