Questions tagged [firewall]

A firewall is a software program or piece of hardware that helps screen out hackers, viruses, and worms that try to reach your computer over the Internet. Usage of this tag may be aligned to users concerned with suspected malware creeping into their devices, setting a filter to allow certain applications to access internet and general monitoring of incoming/outgoing network connections

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

How to override (or a least view) the RDNSS ipv6 DNS? (root)

As far as ipv4 DNS is concerned, Android (at least version 9) can override default DNS settings fairly well. Firstly, it is possible to set net.dns* to the desired value. Secondly, iptables -t nat ...
user avatar
0 votes
0 answers
22 views

How to prevent network connectivity after a phone restart before the NetGuard firewall starts blocking apps' traffic?

There seems to be a major vulnerability in Android: even when using firewalls these aren't active immediately after a restart. The seconds before the firewall (NetGuard) starts can be used by apps ...
user avatar
0 votes
0 answers
19 views

Detect the Incoming TCP Packets

I am developing a feature in my application for screen mirroring for which I need to open a wide range of ports (approx. 10000 number of ports) in my android system. It is a risk to open all these ...
user avatar
0 votes
0 answers
24 views

I need to block some videos (inside Youtube app) and sites (inside Chrome or another browser) using keyword

example: I want to block pages/videos where the content/title contains the word "fish". How can I do it? Thank you.
user avatar
0 votes
0 answers
18 views

How to restrict internet access per app and also administer & control it remotely?

I know there are apps like NetGuard for example which works and allows app level Internet access control. What I am looking for is something which can be Administered or controlled remotely (say from ...
user avatar
  • 351
0 votes
0 answers
21 views

How can I block a neighbor's Firestick from seeing my YouTube queue l

I am staying in a hotel. The owner has a Firestick on a TV on the same network. I don't want him to see what I am watching on YouTube. When I opened my CBS News app, it installed itself on his ...
user avatar
  • 101
1 vote
0 answers
64 views

How can I block a certain app from connecting to the internet?

I'm trying to stop Microsoft SwiftKey keyboard from connecting to the internet. Phone is Android 7, rooted. I have it blocked on AFWall+ But despite that, I can see through PCAPdroid (thanks to @Izzy ...
user avatar
  • 371
0 votes
1 answer
35 views

How can I find out if my keyboard is connecting to the internet?

I have it cut off from the internet on AFWall+ and I'm using XPrivacyLua with everything checked except "read clipboard". How can I now make sure whether or not it's connecting to the ...
user avatar
  • 371
0 votes
0 answers
20 views

Block URLs from Android Webview [duplicate]

I am looking for a solution to block all URLs except a few which are required for my device to function. I have all the root permissions required to make changes. Is there any way we can block all ...
user avatar
1 vote
1 answer
102 views

Implement URL whitelisting in Android

I want to whitelist some URLs been used by my device and native apps for sync and updates. Other than these few URLs, I wish to block all other URLs being accessed by any chat window and browser. I ...
user avatar
  • 11
0 votes
0 answers
155 views

Does Android have default firewall rules?

I have always wondered how Android devices can block or restrict incoming connections or port scans when Android does not include a firewall? Say for example I am in a public space, an airport or ...
user avatar
0 votes
0 answers
36 views

Mobile hotspot with outbound firewall

Goal: A mobile hotspot that limits outbound connections to an approved set of domains or IPs. OK to connect to twitter.com, but reject facebook.com. Etc. Idea: Use an Android phone (as a hotspot), ...
user avatar
0 votes
0 answers
106 views

Why does blocking of incomming connections via AFWall cut off the network connection?

There are couple of Android firewall apps in the wild, for instance AFWall. It manages iptables rules. Usually for client devices, admins set the default policy for the INPUT chain to block, but when ...
user avatar
0 votes
0 answers
69 views

Block domain for a specific app

Is it possible to Block domain for a specific app, like to edit host file or via firewall app (have root) to block domain but just to 1 or 2 app?
user avatar
  • 95
0 votes
0 answers
94 views

AFwall+ sometimes can't apply rules and doesn't get root

Sometimes AFwall+ has an error. It says it can't apply the iptable rules and that it failed to get root. I look in Magisk and there is no entry for it. Rebooting the phone fixes the problem. I'm just ...
user avatar
0 votes
0 answers
61 views

Why are battery optimization options getting reset all the time and how to prevent this?

They aren't just reset after every restart / upgrade but even without running any update or restarting. One problem that results from this beyond having to change the settings after update is that ...
user avatar
2 votes
0 answers
238 views

Here GPS tracking

I have been lured into the world of FOSS apps, apps using known trackers and loggers, DNS, and firewalls. My phone is rooted via Magisk. It's a Huawei P20 Lite. Running Havoc 2.9 and Android 9. So I ...
user avatar
  • 21
1 vote
1 answer
53 views

Syncthing does not work with AFwall+ activated

Syncthing does not get any connection as long as AFwall+ is activated. It should work in my WLAN at home. Mobile data is disabled because I don't need it. I am using LineageOS on my mobile phone. Here ...
user avatar
2 votes
0 answers
100 views

Using NetGuard, what app(s)/service(s) can be restricted to prevent system updates?

I've been using NetGuard for a little while now, and I've really liked it so far. I hate the forced system updates which seem to come more and more frequently. For a handful of reasons, I'd like to ...
user avatar
  • 21
1 vote
1 answer
67 views

How can I make my rooted Android 7 phone as secure as possible for financial transactions?

The latest security update patches for my phone was in 2017. My phone is rooted. What steps can I take to make it as secure as possible to be able to safely use financial apps where I'd be transacting ...
user avatar
  • 21
0 votes
1 answer
101 views

In AFWall+, how do you block everything by default?

I want the default to be blocked unless I specifically allow that app. I understand you can tick all what you want blocked or not. But, what I want is for any app that gets installed to be ...
user avatar
  • 21
1 vote
0 answers
209 views

Can I implement firewall-like internet blocking from ADB on a per app basis on stock Android?

Instead of using 3rd party app freezers, I've been using "pm disable-user" / "pm uninstall" for years to disable/uninstall bloatware. However, some apps, if uninstalled (or even ...
user avatar
1 vote
0 answers
56 views

Port to port routing in rooted android device locally

I want to route the incoming TCP packets of one specific IP. Packet can arrive on any port on android. Packet needs to be forwarded to one specific port on the same device, Without using middleware ...
user avatar
  • 11
0 votes
1 answer
292 views

how to identify on command line terminal emulator apps and packages that have active network connections [duplicate]

I tried this using an app and I am able to identify most apps and their network connections however there are certain apps listed as '?' so apparently it is not able to identify a package name I ...
user avatar
0 votes
0 answers
366 views

AFWall+ block entire internet in Oasisfeng Island (work mode)

I have a OnePlus 6 running Android / OxygenOS 10 and have AFWall+ installed. It works fine as long as I don't use the Island app inside the island (v.4.54) of OasisFeng. I set finally a profile which ...
user avatar
0 votes
0 answers
29 views

Is it possible to change the userID of something like Fused Location Provider?

I have a bunch of apps bundled under userID on my stock rom, including Fused Location Provider. Since I'm using AFWall+ to block said userID to block said apps - it also breaks my location detection ...
user avatar
  • 79
0 votes
0 answers
85 views

"System" is trying to access Internet

I am using OnePlus 3T, Android 9. Recently I installed an app called "NoRoot Firewall" to prevent the apps from accessing the internet. I explicitly allowed and denied access to internet for some apps ...
user avatar
0 votes
1 answer
864 views

Block app internet acces on Galaxy S7?

Is it possible to block an app from accessing internet (both wifi and data) on Galaxy S7 with Android 8? Without using any external firewall app. Thanks.
user avatar
0 votes
0 answers
2k views

Whatsapp calls not working on a specific Wifi

I live in Germany and I can't make a whatsapp call whenever I am connected to my home's wifi. It just goes on "connecting". Whatsapp messages work and whatsapp calls work on other wifis and my phone ...
user avatar
3 votes
1 answer
9k views

How to send all internet traffic to a SOCKS5 proxy server in local network?

I got the inspiration here. It looks like AFWall+ is able to create a NAT forwarding policy to keep all traffic going through a SOCKS5 proxy and fool Google apps into thinking they are not connected ...
user avatar
4 votes
0 answers
1k views

What are the privacy downsides to using Google's Gboard keyboard for Android?

For several reasons, I do what I can to avoid using Google products. But I do currently use the Android OS (at least for now). One thing I like about Android is being able to use any keyboard app ...
user avatar
0 votes
0 answers
2k views

System firewall setting?

I travel and live with someone all the time. Cast is enabled across the system and it's too easy to inadvertently cast something... embarrassing (just a click and it's on the TV). I found this design ...
user avatar
0 votes
0 answers
731 views

AFWall+ not blocking consistently

I'm running a rooted pixel 3 (Magisk) with the "liboemcrypt disabler" module for running Netflix, Magisk Hide and the dg.db edit to disable attestation for running Google Pay. The firewall will work ...
user avatar
  • 11
1 vote
1 answer
4k views

Is There A Mobile Hotspot App With A Firewall to Block Incoming Connections?

I've been using the Android mobile hotspot to get an Internet connection while traveling. The stock hotspot is fine for my laptop which is firewalled, but there are a few devices (smart TV, game ...
user avatar
  • 13
0 votes
0 answers
169 views

Android firewall? Blackhole? One IP unreachable

I have a device, an ESP8266-like, connecting my automower to my wan. If I hardcode the address to 192.168.1.48, it is accessible from my phone and my laptop, among others I guess. If I hardcode the ...
user avatar
  • 121
0 votes
1 answer
60 views

Any protected firewall available

is there any protected firewall available? I have tried many & the problem was as follow: - it works very well but ANY user can simply uninstall it!! how didn't they put this into consideration. - ...
user avatar
1 vote
1 answer
381 views

Can firewall block connection over VPN?

I would like to block specific apps from making connection to internet. I sometimes am connected by VPN but not always. How can I make firewall work for both VPN and not VPN, wifi and mobile data? My ...
user avatar
0 votes
1 answer
1k views

Apps whitelisted in AFWall+ without my knowledge

I've installed a firewall (AFWall+) on my phone, and I've manually whitelisted every app I wanted to allow accessing the Internet, including system apps. So everything is blocked by default, and I add ...
user avatar
  • 147
2 votes
1 answer
658 views

Why network activity is detected from apps after VPN firewall blocks them?

A few non-rooted (no rooted) Android 7 and 8 phones from (Huawei, ZTE, Neffos and Samsung) were tested in this simple firewall (NetGuard) experiment. A selection of apps (including apps from the phone ...
user avatar
2 votes
1 answer
982 views

Restricting an app to only send internet traffic but not receive that back?

Is there a way or app to restrict some apps on my Android, or the whole device, to only send internet data packets but not receive them back? I want to confuse a game app by doing this. It restricts ...
user avatar
2 votes
3 answers
2k views

control per app internet (non-rooted) while using actual VPN?

I am trying all sorts of (non-root) security software that allows me to block internet for apps. so far every one needs some kind of fake VPN to gain access to traffic, I guess so no root is needed. I ...
user avatar
  • 121
2 votes
2 answers
1k views

Will the new changes to Android 9 cause the VPN based firewall apps become obsolete?

Firewall apps use VPN to manage network (to allow or disallow apps to connect to the Internet via Wifi or Mobile Data), mainly is for phones that are not rooted. However, this article mentions: As ...
user avatar
0 votes
1 answer
286 views

How to prevent phone to install bloatware automatically

I have a THL T9 Plus. I just wonder, why are applications installed automatically in background. I already installed NoRoot Firewall and Avira Antivirus. These are in most cases "HotKnotBean" and "...
user avatar
2 votes
0 answers
257 views

How can I troubleshoot a very slow initial connection when web browsing on WiFi?

This has been bugging me for quite some time. When connected to my home WiFi, web connections take a long time to initially establish (like ~10 seconds+) on two separate Android phones (OnePlus 3, ...
user avatar
1 vote
0 answers
72 views

AFwall+ doesn't work on restricted user

I installed AFwall+ as admin with a rooted device & it works very well; but I created a restricted user now & this AFwall+ is not working in user, any tip?
user avatar
  • 31
3 votes
0 answers
772 views

How to share mobile internet with a friend and keep noroot firewall running?

Friend's smartphone can only access internet if I stop "noroot firewall" app, while he is connected thru wifi hotspot here. While it is running, no log is shown to friend's blocked accesses. What I ...
user avatar
  • 151
1 vote
0 answers
67 views

Why is my android phone portscanning my PC?

I have bitdefender whining about my PC being portscanned. The logs show that it is coming from my android phone (which has static address). Is that normal? How can i figure out the app that is doing ...
user avatar
  • 241
1 vote
2 answers
1k views

Afwall+ Android Firewall for multiuser

Hi guys After rooting my andoid phone to prevent excessive data usage by Android system and installed AFWall+ that is based on iptables. U have two users on device both account are handled by me by ...
user avatar
  • 71
0 votes
2 answers
123 views

Is there a way to test if a firewal (AFwall) l is blocking a specific app?

I installed AFwall+ to block internet connection for my keyboard. Is there a way I can test if this is actually working? The keyboard is Swifkey.
user avatar
0 votes
0 answers
26 views

How to limit app using wifi from shell

The Android root firewalls didn't work on my android emulators, How can I limit app using wifi using shell?
user avatar