![](/style/images/good.png)
![](/style/images/bad.png)
Privacy Cookbook Ch 5.8.4 - Cell Security - AdAway Firewall
source link: https://decentralize.today/privacy-cookbook-chapter/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
![Privacy Cookbook - Chapter 5.8.4 - Cellphone Security - AdAway Firewall](https://dt.gl/content/images/2021/06/screenshot1-1.png)
Privacy Cookbook - Chapter 5.8.4 - Cellphone Security - AdAway Firewall
AdAway has been around for as long as I can tremember. It was always one of the first apps I installed when I had a rooted device. However, when it comes to 'non-rooted' I did mention multiple great options in the past. You have plenty of choices with RethinkDNS, AdGuard, NetGuard and the like.
AdAway is simple, and on rooteds it doesn't take your VPN slot away. Using rooted device, the application updates your system hosts file that contains a list of mappings between host names and IP addresses. On non-rooted devices, AdAway uses the VPN slot just like any other firewall.
Y0u can update and add your own blocklists and domains on the list, getting redirects to the local IP 127.0.0.1, which does nothing. There are options to run a local web server to respond to blocked host names and to direct requests to the IP address of your choosing instead.
![screenshot1.png](https://dt.gl/content/images/2021/06/screenshot1.png)
![screenshot2.png](https://dt.gl/content/images/2021/06/screenshot2.png)
![screenshot3.png](https://dt.gl/content/images/2021/06/screenshot3.png)
![screenshot4.png](https://dt.gl/content/images/2021/06/screenshot4.png)
![screenshot5.png](https://dt.gl/content/images/2021/06/screenshot5.png)
AdAway is available on F-Droid.
It is fully open-source and simple to use. Unlike NetGuard, AdGuard, RethinkDNS and the like, you can't block apps or system apps from having access to the internet, which leaves you with an excellent ad blocker, but you can't really block access entirely to specific apps. On Root, AdAway does not use the VPN slot, which is way more powerful. If you go in the direction of rooting your Android device, AdAway with AFWall+ is the best solution out there.
Please remember, rooting a device might be opening the best option when it comes to privacy, but it also opens a bigger attack surface and other security treats. This is one reason why I've gone non-rooted for a few years.
I have been contacted to write about Blockada as a potentially excellent firewall and ad blocker, however, I need to admit I've never liked it. RethinkDNS had an article which mentioned a few things which just doesn't sit well with me and there was another site with critical comments about Blockada.
As you might realize seeing the posts about DNS and firewalls and perhaps combinations of both worlds, Android really does give you some great choices.
Bear in mind with a firewall which takes the VPN slot you can't use a VPN at the same time, except when you go with a rooted device. AdGuard with AdGuardVPN has both options covered on a non-rooted device.
Stay safe!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK