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 Install TWRP Recovery on Android (No Root Required)

How to Install TWRP Recovery on Android (No Root Required)

TWRP allows users to save, install, backup and restore firmware on their devices without worrying about affecting the state of the device when rooting, flashing or installing new firmware on Android devices.

Apps to replace Androids default photo gallery

Apps to replace Androids default photo gallery

On the Google Play Store, there are many alternative applications to the default Android gallery. They provide more interesting features than the default gallery such as connecting to Dropbox or Google Photos accounts, etc. Depending on your needs and desires, you can choose the following applications.

App Store and Google Play screenshot sizes

App Store and Google Play screenshot sizes

It is important to work on the image you are selecting to review on the app. This is why you need to know what your screenshots look like to grab the user's attention and get them to download.

5 best calorie counting apps on your phone

5 best calorie counting apps on your phone

Here are some of the best calorie counting apps on both Android and iOS mobile platforms.

How to make Android keyboard bigger

How to make Android keyboard bigger

To make your mobile experience easier to navigate, you can change the font size on Android. When text, fonts, and icons are easier to see, you may also want to make your Android keyboard larger.

What is the difference between Samsung and Android phones?

What is the difference between Samsung and Android phones?

If you are not tech savvy, it is easy to get confused about different operating systems, manufacturers, device models, and specifications. One such example is people considering Samsung and Android as synonymous, which is not entirely correct.

10 Samsung Galaxy Features All Android Phones Should Learn

10 Samsung Galaxy Features All Android Phones Should Learn

If you've been using a Samsung phone for a few years now, you'll find the great features the Galaxy line offers hard to beat.

How to take a screenshot on Samsung Galaxy

How to take a screenshot on Samsung Galaxy

Taking screenshots on Samsung Galaxy phones is also extremely easy.

How to set default volume level for each application

How to set default volume level for each application

Setting a default volume level for each application is useful in some cases, such as you are watching a video using the Youtube application and want to reduce the volume of the ringtone and message tone so as not to be disturbed.

How to Delete and Completely Uninstall Apps on Android

How to Delete and Completely Uninstall Apps on Android

Trying to completely delete and uninstall an app on Android isn't always as simple as tapping Uninstall. Instead, files are left behind, cluttering up your system, but there are ways to get rid of them.

The best photography apps on iOS and Android

The best photography apps on iOS and Android

The default camera apps on your phone can do a lot, but they still don't have many advanced tools for creative photography. Here are the best phone camera apps.

How to use Shelter to sandbox apps on Android

How to use Shelter to sandbox apps on Android

In the article below, Quantrimang will talk about how Shelter works and how to use this tool.

9 Android Accessibility Features Every User Should Try

9 Android Accessibility Features Every User Should Try

While Android accessibility features are designed with specific needs in mind, some of them can benefit everyone.

5 Android Features for Seamless Multitasking

5 Android Features for Seamless Multitasking

Juggling multiple apps on your phone to get things done can sometimes feel overwhelming. Luckily, Android offers a variety of features that make multitasking a breeze.

How to turn off key vibration effect on Android

How to turn off key vibration effect on Android

Most virtual keyboard apps include a vibration feedback feature — also known as “haptic feedback” — to make typing on a touchscreen more realistic.

How to fix iPhone that wont turn on

How to fix iPhone that wont turn on

Many different issues can cause your iPhone to become unresponsive or even not turn on. The good news is that you can fix most of these problems without having to take your phone to a repair center.

5 Most Popular iPhone Camera Filters

5 Most Popular iPhone Camera Filters

After testing all the photo filters on your iPhone, you will eventually come up with your favorites. These are the best filters to use on your photos.

How to set a password to download applications on Android

How to set a password to download applications on Android

To limit unwanted application downloads on Android, you should set a password to download applications on Android.

How to Install TWRP Recovery on Android (No Root Required)

How to Install TWRP Recovery on Android (No Root Required)

TWRP allows users to save, install, backup and restore firmware on their devices without worrying about affecting the state of the device when rooting, flashing or installing new firmware on Android devices.

How to keep your Android phone screen on

How to keep your Android phone screen on

On Android phones, there is an option to adjust the screen lock mode when the user is inactive. So how to keep the screen always on?

Why is the iPhone launch event time always 9:41?

Why is the iPhone launch event time always 9:41?

In Apple's new product launch events, including iPhone, iOS, macOS... the time stamp is always 9:41.

Apps to replace Androids default photo gallery

Apps to replace Androids default photo gallery

On the Google Play Store, there are many alternative applications to the default Android gallery. They provide more interesting features than the default gallery such as connecting to Dropbox or Google Photos accounts, etc. Depending on your needs and desires, you can choose the following applications.

Change notes on iPhone easily with this simple trick!

Change notes on iPhone easily with this simple trick!

iOS 18 added a new feature that simplifies this process and lets you access recent notes with just a few taps.

How to Stop Android Phones from Silently Eavesdropping

How to Stop Android Phones from Silently Eavesdropping

The Google voice assistant feature on the phone helps users a lot in their daily life and work. However, this can affect the privacy of users.

How to display multiple time zones on iPhone screen

How to display multiple time zones on iPhone screen

Instead of manually calculating the time difference between cities, you can use your iPhone to view multiple time zones.

How to Blur Peoples Faces in Photos Using iPhones Clean Up Tool

How to Blur Peoples Faces in Photos Using iPhones Clean Up Tool

Clean Up is a tool in the Photos app in iOS 18 that lets you remove unwanted objects from photos. However, it sometimes has the strange behavior of blurring faces instead of removing them.

How to show night health index on iPhone

How to show night health index on iPhone

The new iPhone update adds a widget that displays nighttime health information in the Health app. When you add the widget to your iPhone home screen, all health indicators are recorded when you use Apple Watch.

How to prevent Android apps from accessing the internet, using mobile data in the background

How to prevent Android apps from accessing the internet, using mobile data in the background

Do you often feel annoyed when every time you turn on 3G on your Android Smartphone, applications compete to notify Update while the budget for mobile data network is limited?

How to Find Leaked Passwords in the iPhone Password App

How to Find Leaked Passwords in the iPhone Password App

As soon as the Passwords app detects an account with a weak, vulnerable, or leaked password, it will notify you of the status of that password.

How to fix iPhone camera flashing error

How to fix iPhone camera flashing error

Are you having a flickering issue with your iPhone camera? There are many factors that can cause this issue, so don't assume it's a hardware issue and take it to the Apple Store right away.