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
10 views

Rooted OnePlus 6: Cannot restore default iptables

Using AFWall+ (Donate) as a firewall normally works flawlessly. I use it to allow only certain apps to access the internet. I even blocked Google Play (store and services) from it and when I do need ...
0 votes
0 answers
37 views

Does Android allow incoming connections?

Some posts explain, that Android OS has all ports open by default with a policy to accept all incoming connections. But od a "NetGuard" Android project they mention "Android does not ...
  • 1
0 votes
0 answers
18 views

BenQ RP7502 won't update Apps

We are using BenQ Interactive Flat Panels (IFPs) at school, and we are having issues with updating the apps. The firewall rules we have set up should bypass all authentication, but when it comes to ...
  • 109
0 votes
0 answers
45 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 ...
0 votes
0 answers
59 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 ...
0 votes
0 answers
26 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 ...
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.
0 votes
0 answers
24 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 ...
  • 351
0 votes
0 answers
27 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 ...
  • 101
1 vote
0 answers
100 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 ...
  • 381
0 votes
1 answer
46 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 ...
  • 381
1 vote
0 answers
23 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 ...
1 vote
1 answer
289 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 ...
  • 11
0 votes
0 answers
305 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 ...
0 votes
0 answers
53 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), ...
's user avatar
0 votes
0 answers
175 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 ...
0 votes
0 answers
113 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?
  • 95
0 votes
0 answers
120 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 ...
0 votes
0 answers
88 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 ...
2 votes
0 answers
293 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 ...
  • 21
1 vote
1 answer
74 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 ...
2 votes
0 answers
160 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 ...
  • 21
1 vote
1 answer
70 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 ...
  • 21
0 votes
1 answer
141 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 ...
  • 21
1 vote
0 answers
265 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 ...
1 vote
0 answers
79 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 ...
  • 11
0 votes
1 answer
333 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 ...
1 vote
0 answers
421 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 ...
0 votes
0 answers
31 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 ...
  • 79
0 votes
0 answers
103 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 ...
0 votes
1 answer
926 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.
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 ...
3 votes
1 answer
11k 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 ...
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 ...
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 ...
's user avatar
0 votes
0 answers
770 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 ...
  • 11
1 vote
1 answer
4k views

Is there a way to set up a firewall on mobile hotspot 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 ...
  • 13
0 votes
0 answers
181 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 ...
  • 121
0 votes
1 answer
61 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. - ...
1 vote
1 answer
393 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 ...
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 ...
  • 147
2 votes
1 answer
692 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 ...
2 votes
1 answer
1k 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 ...
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 ...
  • 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 ...
0 votes
1 answer
309 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 "...
2 votes
0 answers
271 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, ...
1 vote
0 answers
74 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?
  • 31
3 votes
0 answers
802 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 ...
  • 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 ...
  • 241