HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ukanth
afwall
Java2017–2024
ukanth / afwall

afwall

AFWall+ (Android Firewall +) - iptables based firewall for Android

9Distinct people
9Mentions
0Explicit recommenders
3.5KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

AFWall+ (Android Firewall +) - iptables based firewall for Android

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year9 dated mentions

Observed mentions: 2017-01-20 16:18:05 UTC to 2024-08-11 01:46:19 UTC.

0122017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC202
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC202
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC202

What Hacker News says

9 sources
I have heard good things about this one. But i think this one of those no root firewalls that uses the vpn, so I figure this means I can't use a VPN at the same time. An alternative android root only option is afwall+ which allows blocking on lte, WiFi, lan, and VPN separately, and script access to iptables. Not sure how actively developed it is, but it seems to work ok. *edit: Seems to still be active, open source, and available on fdroid too. https://github.com/ukanth/afwall
In OpenSnitch is a GNU/Linux interactive application firewall
Sadly all real firewalls need root. I was using AFWall+ for a long time it has neat controls for every app to allow or deny Wifi, Cell or LAN (if you have). It is a iptables/nftables frontend so you can customize the rules to your heart's content: https://github.com/ukanth/afwall Works from Android 2+ Without root only VPN solutions like Adguard are available. EDIT: if you want neat stats: Glasswire has an Android version. I have only used the beta so I have no idea about its current state. Might be worth checking out though.
In OpenSnitch is a GNU/Linux interactive application firewall
On Pixel and Nexus phones, the Google Camera app works properly if you have either microG or Google Play Services installed. If you're using microG, you'll need to install the Google Camera app manually: https://www.apkmirror.com/apk/google-inc/camera/ The camera quality and features are the same as in the stock ROM. Google Camera is proprietary, but you can disable its internet access through the app settings (in LineageOS) or a firewall like AFWall+: https://github.com/ukanth/afwall/ If you're using another camera app, then you'll lose Google Camera's optimized features. This may still be worth it if you prefer to use FOSS software.
In iFixit Pixel 3a XL teardown [video]
Not sure about this but I think yes. China has network filtering software for VPNs, in fact, the more advanced anti VPN blocker tools are Chinese due to the firewall. They have several websites blocked like Google, Facebook (no OAuth integrations). Anything that involves networking might suffer. They would probably get a police visit if the firewall has triggers for sshing into a server (common in devops). Not joking: https://github.com/ukanth/afwall/issues/420#issuecomment-262... Maybe they could work but would have serious limitations I guess. In a "communist" country, don't even know if they have a tax status for freelancing given the government behaviour. The only work around would be to have a based company in China to outsource.
In Chinese Devs Using GitHub to Protest 996 Workweek (9am – 9pm, 6 days/week)
I can only find NoRootFirewall via Google Store, which I don't use. In F-Droid there appears to be AFWall+[1] and NetGuard[2]. Does anyone have a comparison of these two apps, compared to NoRootFirewall, or indeed others (Blokada mentioned in other threads)? AFWall+ appears to required a rooted device for iptables, but NetGuard says no root is required. [1] https://github.com/ukanth/afwall/wiki [2] https://github.com/M66B/NetGuard/
In My phone is spying on me, so I decided to spy on it

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.