How to install and use AFWall+ Android firewall

Do you know who your phone is communicating with? It's not just sending and receiving emails and text messages like you think.

Research has shown that Android devices, when not in use, still contact Google about 900 times a day, and most of the apps you install record information about your daily usage habits.

Firewalls can help you limit this problem, one of the best Android firewall apps is AFWall+.

What is AFWall+?

AFWall+ is a free, open-source firewall for rooted Android devices. It gives you full control over which apps can connect to the Internet and which connections they use. You can download AFWall+ from the Play Store .

When running for the first time, AFWall+ will ask for root access. Without root, the firewall will not be able to function.

AFWall+ User Guide

The application that needs to access the Internet will be displayed with an icon on the left and a name on the right, with 3 empty columns in the middle. By default, these columns will be a list of LAN, Wi-Fi and mobile network connections. This allows you to choose the connection type for any application.

First, let's set some options to unlock the full features of AFWall+. To see all the options, tap on the 3 dots icon in the right corner to open the main menu, tap on Preferences and choose as you like.

How to install and use AFWall+ Android firewall

User interface options

To easily differentiate between core, system, and user apps, tap Show filters . Select Show UID for apps to see the unique identifiers for your apps. By selecting Confirm AFWall+ disable , the submenu also lets you enable a warning if AFWall+ is disabled as a security measure.

Rules/Connections

Here you can enable additional connection controls for roaming, LAN, VPN, tethering, and Tor by checking each option. It's best not to change the iptables chain settings unless you're familiar with them.

How to install and use AFWall+ Android firewall

Log

Click Turn on log service . This option is useful when you want to check if AFWall+ is working or if there are any errors. Click Enable show toasts to receive notifications whenever the connection is blocked.

How to install and use AFWall+ Android firewall

Security

You can set a password, passcode, or fingerprint lock to prevent malicious apps or others from breaking into your firewall. Enable stealth mode to hide your passcode when you enter it, and specify the maximum number of passcode attempts before the app locks itself.

Experiment

Experimental options give you more precise control:

  • Startup delay will be useful when AFWall+ doesn't work after reboot.
  • During startup, some apps may upload data before AFWall+ sets the rules. Select Fix startup data leak to allow AFWall+ to block this issue.
  • If multiple people use your device, select Enable multi-user support to enable AFWall+ for other accounts.
  • Tools like Shelter will allow you to create Sandbox apps or run cloned versions.
  • Select Dual apps support to enable connection control for cloned apps in addition to the main version.
  • There are some apps that may require a LAN connection like Samba or AirDroid. Select Enable inbound connections if you are having trouble connecting between the network and the device.

File

AFWall+ allows you to configure profiles with custom app connections for use in different scenarios. For example, you can set up a specific profile to use when tethering your device to use as a hotspot. Additionally, you can set up profiles to allow or block all apps when enabled.

How to install and use AFWall+ Android firewall

How to Prevent Android Apps from Connecting to the Internet

On the AFWall+ home screen, you'll see a few new features.

On the connection controls section, there is a filter option that allows you to view all applications or show only error, system or user applications. This option is suitable for defining blocking policies and for troubleshooting.

Additionally, the connection bar also displays controls like roaming, VPN, Bluetooth, or USB.

How to install and use AFWall+ Android firewall

By default, AFWall+ will block everything and only allow the apps you choose to use the connection. However, you can easily toggle the Allow selected and Block selected options by tapping the three-line icon .

To allow an application to connect to the Internet, check all the connection boxes you want to access.

How to enable firewall

Once you have set some rules, you can save and enable the Android firewall.

Select the three dots icon in the right corner, click Save > Enable firewall . You will receive a message confirming that the firewall has been enabled. This does not require a reboot. You can change the settings at any time and click Apply to apply the rules.

Tools to troubleshoot application errors

AFWall+ offers a lot of ways to manage apps beyond filters and options.

If you select the three-line icon, you can choose to list apps by name, install or update date, or by UID.

If you want to allow all applications to use only one type of connection or block all, click on the connection icon to get the menu as shown below, here check or uncheck to adjust the connection status of the applications in the column.

How to install and use AFWall+ Android firewall

Click the circular settings icon at the end of the connection bar to reverse the status of all applications in any connection column.

Another feature allows you to copy configuration from one column to another.

What should be blocked?

So what should you block to keep your device working properly?

Depending on your needs, AFWall+ can help you block everything except apps that have a “legitimate” reason to access the Internet, such as web browsers, email, or messaging apps. However, for everyday use, this setting can seem a bit overwhelming.

Most users should allow network access for Google Play services, downloads, media storage, or Download manager.

Sign up and earn $1000 a day ⋙

Leave a Comment

How to Uninstall Any Android App Using ADB (Including System Apps and Bloatware)

How to Uninstall Any Android App Using ADB (Including System Apps and Bloatware)

ADB is a powerful set of tools that give you more control over your Android device. Although ADB is intended for Android developers, you don't need any programming knowledge to uninstall Android apps with it.

This setting can extend your phones battery life better than you think.

This setting can extend your phones battery life better than you think.

You might think you know how to get the most out of your phone time, but chances are you don't know how big a difference this common setting makes.

Android System Key Verifier protects you from scammers and impersonators without you even knowing it.

Android System Key Verifier protects you from scammers and impersonators without you even knowing it.

The Android System Key Verifier app comes pre-installed as a system app on Android devices running version 8.0 or later.

Simple trick to control Apple TV with any Android phone

Simple trick to control Apple TV with any Android phone

Despite Apple's tight ecosystem, some people have turned their Android phones into reliable remote controls for their Apple TV.

What to do when mobile data is not working on Android device?

What to do when mobile data is not working on Android device?

There are many reasons why your Android phone cannot connect to mobile data, such as incorrect configuration errors causing the problem. Here is a guide to fix mobile data connection errors on Android.

How to run PlayStation 3 games on Android using aPS3e

How to run PlayStation 3 games on Android using aPS3e

For years, Android gamers have dreamed of running PS3 titles on their phones – now it's a reality. aPS3e, the first PS3 emulator for Android, is now available on the Google Play Store.

7 tips to lock your smartphone to protect against phone theft

7 tips to lock your smartphone to protect against phone theft

If you really want to protect your phone, it's time you started locking your phone to prevent theft as well as protect it from hacks and scams.

How to use Android Picture-in-Picture mode

How to use Android Picture-in-Picture mode

Android Picture-in-Picture mode will help you shrink the video and watch it in picture-in-picture mode, watching the video in another interface so you can do other things.

Tips for using AI chatbot without internet connection

Tips for using AI chatbot without internet connection

The common point of most of these AI chatbot tools is that they need an Internet connection to use. But with the article below, you will learn more tips for using AI chatbots without the Internet on your phone.

6 Pixel-Exclusive Features You Can Transfer to Any Android Phone

6 Pixel-Exclusive Features You Can Transfer to Any Android Phone

Depending on your needs, you'll likely get a set of Pixel-exclusive features running on your existing Android device.

10 Open Source Android Apps You Cant Live Without

10 Open Source Android Apps You Cant Live Without

After years of using Android phones, many people have become familiar with a number of open source Android apps. These apps are better than their closed source counterparts.

Youre Missing Out on Your Phone Cameras Potential: This Free App Will Change That!

Youre Missing Out on Your Phone Cameras Potential: This Free App Will Change That!

Samsung's camera app works well out of the box, but Camera Assistant adds new features that you wish were built in from the start.

Top 21 ADB Commands Android Users Should Know

Top 21 ADB Commands Android Users Should Know

Android Debug Bridge (ADB) is a powerful and versatile tool that allows you to do many things like find logs, install and uninstall apps, transfer files, root and flash custom ROMs, create device backups.

Tricks to help you use Chrome on Android effectively that you may not know

Tricks to help you use Chrome on Android effectively that you may not know

Chrome on Android is a great browser out of the box, but you can make it even better. These tips and features will help you browse the web faster.

7 Ways Smartphones Are Getting Worse

7 Ways Smartphones Are Getting Worse

When you compare smartphones from nearly two decades ago and today, you can't help but notice that they've gotten worse in a variety of ways.

How to Check Purchase History on Apple App Store

How to Check Purchase History on Apple App Store

Through your purchase history on the App Store, you will know when you downloaded that app or game, and how much you paid for the paid app.

Instructions for receiving strange calls on iPhone

Instructions for receiving strange calls on iPhone

iPhone mutes iPhone from unknown callers and on iOS 26, iPhone automatically receives incoming calls from an unknown number and asks for the reason for the call. If you want to receive unknown calls on iPhone, follow the instructions below.

Quick tips to check WiFi security on iPhone when connecting

Quick tips to check WiFi security on iPhone when connecting

Apple makes it easy to find out if a WiFi network is safe before you connect. You don't need any software or other tools to help, just use the built-in settings on your iPhone.

How to Turn Off Headphone Volume Limit Warning on iPhone

How to Turn Off Headphone Volume Limit Warning on iPhone

iPhone has a speaker volume limit setting to control the sound. However, in some situations you need to increase the volume on your iPhone to be able to hear the content.

How to Uninstall Any Android App Using ADB (Including System Apps and Bloatware)

How to Uninstall Any Android App Using ADB (Including System Apps and Bloatware)

ADB is a powerful set of tools that give you more control over your Android device. Although ADB is intended for Android developers, you don't need any programming knowledge to uninstall Android apps with it.

This setting can extend your phones battery life better than you think.

This setting can extend your phones battery life better than you think.

You might think you know how to get the most out of your phone time, but chances are you don't know how big a difference this common setting makes.

Android System Key Verifier protects you from scammers and impersonators without you even knowing it.

Android System Key Verifier protects you from scammers and impersonators without you even knowing it.

The Android System Key Verifier app comes pre-installed as a system app on Android devices running version 8.0 or later.

Simple trick to control Apple TV with any Android phone

Simple trick to control Apple TV with any Android phone

Despite Apple's tight ecosystem, some people have turned their Android phones into reliable remote controls for their Apple TV.

What to do when mobile data is not working on Android device?

What to do when mobile data is not working on Android device?

There are many reasons why your Android phone cannot connect to mobile data, such as incorrect configuration errors causing the problem. Here is a guide to fix mobile data connection errors on Android.

How to run PlayStation 3 games on Android using aPS3e

How to run PlayStation 3 games on Android using aPS3e

For years, Android gamers have dreamed of running PS3 titles on their phones – now it's a reality. aPS3e, the first PS3 emulator for Android, is now available on the Google Play Store.

How to create and manage iMessage iPhone chat groups

How to create and manage iMessage iPhone chat groups

The iPhone iMessage group chat feature helps us text and chat more easily with many people, instead of sending individual messages.

8 best book reading software on iPhone

8 best book reading software on iPhone

For ebook lovers, having a library of books at your fingertips is a great thing. And if you store your ebooks on your phone, you can enjoy them anytime, anywhere. Check out the best ebook reading apps for iPhone below.

Picture in Picture on iPhone: How to Enable and Use Picture in Picture (PIP)

Picture in Picture on iPhone: How to Enable and Use Picture in Picture (PIP)

You can use Picture in Picture (PiP) to watch YouTube videos off-screen on iOS 14, but YouTube has locked this feature on the app so you cannot use PiP directly, you have to add a few more small steps that we will guide in detail below.

How to find downloaded files on iPhone/iPad

How to find downloaded files on iPhone/iPad

On iPhone/iPad, there is a Files application to manage all files on the device, including files that users download. The article below will guide readers on how to find downloaded files on iPhone/iPad.

7 tips to lock your smartphone to protect against phone theft

7 tips to lock your smartphone to protect against phone theft

If you really want to protect your phone, it's time you started locking your phone to prevent theft as well as protect it from hacks and scams.