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

56 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
832 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
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 ...
End Anti-Semitic Hate's user avatar
3 votes
0 answers
933 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 ...
VeganEye's user avatar
  • 151
3 votes
0 answers
6k views

How to filter IP address in a hotspot/tether

For non rooted phone IP can be filtered/blocked by using a firewall like NoRoot firewall. Every apps in the pthone can be controlled this way. But when mobile data is shared with other devices (like ...
totti's user avatar
  • 383
3 votes
0 answers
156 views

unable to connect to my nexus 10 with android 4.4 and cyanogenmod with a remote desktop manager

Hello android users and developers. I would like to give a developer temporary access to my tablet so he can help me solve a problem. On the tablet is running android 4.4 + cyanogen mod 11. I have ...
Marietto's user avatar
  • 213
3 votes
0 answers
2k views

How to limit data usage of individual apps?

There are many apps out there to limit data usage of entire system. Using Firewall, I can block an app from accessing Internet, too. But, I don't want these. I want to limit data usage of individual ...
iOS's user avatar
  • 12.4k
2 votes
0 answers
66 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
873 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
2 votes
0 answers
554 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
2 votes
0 answers
417 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
2 votes
1 answer
753 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
2 votes
0 answers
337 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
2 votes
0 answers
91 views

How can I prevent apps sending cleartext over open Wi-Fi without using a VPN service?

Sending cleartext data over an open Wi-Fi network, or an encrypted network controlled by someone you don't trust, is very bad for security. This has been discussed here previously. The usual solution ...
Dan Hulme's user avatar
  • 35k
2 votes
0 answers
710 views

List of domains used by Google Maps API Family (Firewall Config)

our corporate config firewall to allow Android Phone use App to Map Location , our programmer use fused location provider API (GPS, Network etc) to Map , but the Phont is in the internal network,and ...
Lain's user avatar
  • 21
2 votes
0 answers
4k views

How does cLock retrieve the weather information?

I'm running a Cyanogenmod 12.1 nightly with AFWall 2.0.0 installed. AFWall seems to work as expected, except for the Yahoo! Weather service integrated in the cLock widget!? Even if the firewall is ...
binfalse's user avatar
  • 121
2 votes
0 answers
730 views

How to set a DroidWall custom script for allowing global access to the LAN via wifi?

I'm trying to follow the second example at http://code.google.com/p/droidwall/wiki/CustomScripts : # Allow all connections to the local network (192.168.0.XXX) on Wi-fi $IPTABLES -A "droidwall-wifi" -...
GJ.'s user avatar
  • 727
1 vote
0 answers
105 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
1 vote
0 answers
858 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
1 vote
0 answers
307 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
  • 411
1 vote
1 answer
1k 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
1 vote
1 answer
77 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
  • 31
1 vote
0 answers
334 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
1 vote
0 answers
566 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
1 vote
0 answers
274 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
1 vote
0 answers
3k 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
1 vote
1 answer
470 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
1 vote
0 answers
83 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
1 vote
0 answers
70 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 ...
krasatos's user avatar
  • 241
1 vote
0 answers
577 views

What URLs are needed to use "Ok Google"?

I own a fire tablet what I lock ALL internet traffic for using my router configuration. Works as expected. But while I need no Internet at all on that device I want to use "Ok Google" which itself ...
Ole Albers's user avatar
1 vote
0 answers
6k views

AFWall+ is not blocking apps

I've used AFWall+ to block Weather Services Pro from using my data plan, but My Data Manager app still shows it in the top 3 of data plan use. Is there some background process using data that isn't ...
endolith's user avatar
  • 3,027
1 vote
0 answers
2k views

Ports on the Android PHONE

I often use my Samsung Galaxy Note2 on local WiFi networks which are protected by a firewall, and experience problems with some apps which are most likely caused by strict firewall rules. Is there ...
Leon Slabbert's user avatar
0 votes
0 answers
185 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
0 votes
0 answers
307 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
0 votes
0 answers
181 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
195 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
355 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
37 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
0 votes
0 answers
363 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
433 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
  • 115
0 votes
0 answers
334 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
339 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
0 votes
0 answers
36 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
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
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
939 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
0 votes
0 answers
202 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
2 answers
144 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.
firefireice's 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?
user3933607's user avatar
0 votes
1 answer
564 views

Can't connect to college WiFi even after changing the MAC address

First of all this is completely for education purpose, there is no intension to access college Internet without official permissions. So In my college, WiFi is only accessible via laptops. Students ...
Kaushal28's user avatar
  • 103