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

How to route local traffic to LAN/WIFI on Android 11 with VPN enabled? (Rooted)

I have a rooted Android 11 device and I use a VPN app with the option Block connections without VPN enabled. This prevents any apps on my phone from communicating with my PC on the same LAN/WIFI ...
poqdavid's user avatar
  • 1,323
1 vote
0 answers
33 views

Unsual Firewall Traffic from Phone and Messaging Storage Group

I'm using Rethink DNS to monitor traffic. I'm curious as to why the 'Phone and Messaging Storage' group would be reaching out to google domains in addition to app.hubspot.com. Attached are the ...
humanPerson's user avatar
2 votes
0 answers
175 views

Android: how to use adb commands to block/unblock specific app from using the Internet, on rooted device if needed?

Background I want to temporarily block a specific app from using the Internet on my Android device, using a batch file. The device is rooted, so it should be possible via the PC. The problem I ...
android developer's user avatar
0 votes
0 answers
112 views

What should be whitelisted in a firewall to allow push-notifications?

I'm using a firewall (NoRoot) on (Samsung) Android (10) to try to harden it, but now, push-notifications aren't coming through. I'm trying to figure out which apps/services are responsible for that ...
Synetech's user avatar
  • 101
1 vote
0 answers
85 views

Opening iptables for initial Android setup blocks connectivity

I installed an AOSP Android 12 based ROM with root. I set up a simple custom stateful iptables firewall to block all connectivity except for a browser. I connect to WiFi and there is no internet. This ...
user145453's user avatar
4 votes
0 answers
570 views

ADB/PM command to disable data and wifi access for Apps

Is there a way via adb shell to disable an apps access to WiFi and Data? I'd like to turn off internet for all apps and then selectively turn it on for required apps. I know the manual way by going to ...
0fnt's user avatar
  • 141
0 votes
0 answers
25 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 ...
user513667's user avatar
1 vote
0 answers
508 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 ...
M_Ryan's user avatar
  • 11
0 votes
0 answers
117 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 ...
Ben's user avatar
  • 109
0 votes
0 answers
150 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 ...
user10732's user avatar
0 votes
0 answers
276 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 ...
mYnDstrEAm's user avatar
0 votes
0 answers
34 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 ...
Lavyansi's user avatar
0 votes
0 answers
29 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.
mrjayviper's user avatar
1 vote
0 answers
256 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 ...
JJrussel's user avatar
  • 401
0 votes
1 answer
67 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 ...
JJrussel's user avatar
  • 401
1 vote
0 answers
30 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 ...
Lavyansi's user avatar
1 vote
1 answer
880 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 ...
Tech Q's user avatar
  • 11
0 votes
0 answers
301 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 ...
Mikhail Morfikov's user avatar
0 votes
0 answers
349 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?
Joe's user avatar
  • 95
0 votes
0 answers
249 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 ...
EnergyBeat's user avatar
0 votes
0 answers
231 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 ...
mYnDstrEAm's user avatar
2 votes
0 answers
467 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 ...
crc's user avatar
  • 21
1 vote
1 answer
104 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 ...
Michael Hutter's user avatar
2 votes
0 answers
286 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 ...
Colin B's user avatar
  • 21
1 vote
1 answer
75 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 ...
Kaftee's user avatar
  • 21
0 votes
1 answer
288 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 ...
Kaftee's user avatar
  • 21
2 votes
1 answer
612 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 ...
initiation14695's user avatar
1 vote
0 answers
222 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 ...
Czar's user avatar
  • 11
0 votes
1 answer
419 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 ...
user1874594's user avatar
1 vote
0 answers
532 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 ...
web site maker's user avatar
0 votes
0 answers
34 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 ...
Kirikan's user avatar
  • 79
0 votes
0 answers
201 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 ...
user2798227's user avatar
0 votes
1 answer
1k 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.
get_going's user avatar
1 vote
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 ...
Areeb Muzaffar's user avatar
4 votes
1 answer
16k 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 ...
Aero Windwalker's user avatar
4 votes
0 answers
2k 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 ...
RockPaperLz- Mask it or Casket's 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
898 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 ...
anon's user avatar
  • 11
2 votes
1 answer
6k 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 ...
naedozi's user avatar
  • 23
0 votes
0 answers
199 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 ...
Lenne's user avatar
  • 121
0 votes
1 answer
65 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. - ...
Jkarhani's user avatar
1 vote
1 answer
448 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 ...
Abderian's user avatar
0 votes
1 answer
2k 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 ...
Ratler's user avatar
  • 147
3 votes
1 answer
845 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 ...
user275517's user avatar
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 ...
Behroozfar's user avatar
2 votes
3 answers
3k 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 ...
Bricktop's 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 ...
user275517's user avatar
0 votes
1 answer
350 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 "...
plaidshirt's user avatar
2 votes
0 answers
300 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, ...
incidentnormal's user avatar
1 vote
0 answers
82 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?
JinaneK's user avatar
  • 31