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

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.

What is an APK file? How to download and install an APK file?

What is an APK file? How to download and install an APK file?

Just like the .exe file on the Windows operating system is used to install software, the same is true on the Android operating system. APK files on the Android operating system are used to install software on the system. So how to download and install APK files on Android devices, please refer to the article below of WebTech360.

Instructions to turn videos into beautiful wallpapers on Android phones

Instructions to turn videos into beautiful wallpapers on Android phones

Are you bored with static wallpapers on your phone? Try this method of turning videos into beautiful wallpapers for Android.

9 Android Phone Lock Screen Security Settings

9 Android Phone Lock Screen Security Settings

The lock screen on your phone or tablet is a tool designed to prevent strangers from accessing your device. Because of this importance, setting up the lock screen in the safest and most reasonable way is something every user should do. The article below summarizes 4 things you should apply to the lock screen on Android and iOS to master the above feature and protect your device from unauthorized access.

How to enable developer options and disable it on Android

How to enable developer options and disable it on Android

Developer options on Android devices are hidden by default, to avoid changes that affect the system. The following article will guide readers on how to enable developer mode on Android, illustrated on the Samsung Galaxy S9, and how to disable this option if you no longer use it.

How to Free Up Space on Android

How to Free Up Space on Android

Smartphones and tablets can easily fill up with storage, especially if you've been using them for a while. Here are some ways to free up space on your Android device.

Pre-installed apps that can be safely uninstalled on Samsung phones

Pre-installed apps that can be safely uninstalled on Samsung phones

Deleting apps you know you won't use is a great way to save storage space and minimize background processes on your phone.

7 Screenshots Hackers Like You To Save In Your Gallery

7 Screenshots Hackers Like You To Save In Your Gallery

It's easy to think of screenshots as temporary, but many of us never delete them. The danger is that some of them can become gold mines for hackers, identity thieves, or even just curious friends.

Turn Off These 8 Samsung Settings to Stop Your Phone from Draining Your Battery Quickly!

Turn Off These 8 Samsung Settings to Stop Your Phone from Draining Your Battery Quickly!

Many people think that their Samsung phone battery can no longer meet the daily needs. But after turning off these overlooked settings, the battery can easily last all day.

How to delete browsing history on Android phone

How to delete browsing history on Android phone

Current web browsers on computers or phones all have the option to delete browsing history, such as deleting browsing history on Chrome, deleting browsing history on Firefox,...

Why Smart Launcher is the Android launcher worth switching to?

Why Smart Launcher is the Android launcher worth switching to?

Many people never thought they would leave Stock Android. But after just a week of using this launcher, they now find the original interface bland and restrictive.

How to Open Shared Files on Android Without a Microsoft Account

How to Open Shared Files on Android Without a Microsoft Account

Microsoft's new feature makes it easy to open shared files on Android anonymously without having to log in to your account.

What to do to get data back when phone is stolen?

What to do to get data back when phone is stolen?

Losing your phone is one of the most frustrating experiences you can have. While you may not be able to get your old device back, there are ways to recover your data.

10 Devices That Were Replaced Forever by Smartphones

10 Devices That Were Replaced Forever by Smartphones

Smartphones have replaced so many other devices. They are so versatile that you probably don't need any of the categories of devices they replace.

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.

What is an APK file? How to download and install an APK file?

What is an APK file? How to download and install an APK file?

Just like the .exe file on the Windows operating system is used to install software, the same is true on the Android operating system. APK files on the Android operating system are used to install software on the system. So how to download and install APK files on Android devices, please refer to the article below of WebTech360.

Instructions to turn videos into beautiful wallpapers on Android phones

Instructions to turn videos into beautiful wallpapers on Android phones

Are you bored with static wallpapers on your phone? Try this method of turning videos into beautiful wallpapers for Android.

9 Android Phone Lock Screen Security Settings

9 Android Phone Lock Screen Security Settings

The lock screen on your phone or tablet is a tool designed to prevent strangers from accessing your device. Because of this importance, setting up the lock screen in the safest and most reasonable way is something every user should do. The article below summarizes 4 things you should apply to the lock screen on Android and iOS to master the above feature and protect your device from unauthorized access.

How to extract, copy text from photos on iPhone

How to extract, copy text from photos on iPhone

Today's technological developments can allow you to directly extract text from images captured with a smartphone camera.

How to set a face-uncovering wallpaper on iOS 16 to “follow the trend”

How to set a face-uncovering wallpaper on iOS 16 to “follow the trend”

As soon as you update your iPhone to the official iOS 16 version, you will be able to set an iPhone wallpaper without covering your face when adjusting the wallpaper according to the depth effect.

4 must-have photo editing apps for iPhone

4 must-have photo editing apps for iPhone

While Apple's Photos app is useful for basic tasks like cropping photos, it doesn't offer many advanced editing features. And that's where a third-party photo editor comes in handy.

How to enable developer options and disable it on Android

How to enable developer options and disable it on Android

Developer options on Android devices are hidden by default, to avoid changes that affect the system. The following article will guide readers on how to enable developer mode on Android, illustrated on the Samsung Galaxy S9, and how to disable this option if you no longer use it.

How to Free Up Space on Android

How to Free Up Space on Android

Smartphones and tablets can easily fill up with storage, especially if you've been using them for a while. Here are some ways to free up space on your Android device.

Pre-installed apps that can be safely uninstalled on Samsung phones

Pre-installed apps that can be safely uninstalled on Samsung phones

Deleting apps you know you won't use is a great way to save storage space and minimize background processes on your phone.

7 Screenshots Hackers Like You To Save In Your Gallery

7 Screenshots Hackers Like You To Save In Your Gallery

It's easy to think of screenshots as temporary, but many of us never delete them. The danger is that some of them can become gold mines for hackers, identity thieves, or even just curious friends.

Turn Off These 8 Samsung Settings to Stop Your Phone from Draining Your Battery Quickly!

Turn Off These 8 Samsung Settings to Stop Your Phone from Draining Your Battery Quickly!

Many people think that their Samsung phone battery can no longer meet the daily needs. But after turning off these overlooked settings, the battery can easily last all day.

How to delete browsing history on Android phone

How to delete browsing history on Android phone

Current web browsers on computers or phones all have the option to delete browsing history, such as deleting browsing history on Chrome, deleting browsing history on Firefox,...

How to Recover Deleted Password on iPhone

How to Recover Deleted Password on iPhone

You can use iCloud Keychain or iCloud Keychain to save your passwords and easily access them on your iPhone. Here's how to recover deleted passwords on your iPhone.