Question Is there any way to restrict any app from connecting to the internet? - Samsung Galaxy S23 Ultra

As the title says, I'm switching from Xiaomi mi 11 and there was a simple way to restrict any app from connecting to internet, the only way I have found so far in my s23u is netguard app, but it uses local VPN which is not the best solution as I am using it already with adaway as an adblocker

Tracker control from github can stop any app from connecting to the internet

spart0n said:
Tracker control
Click to expand...
Click to collapse
Yes, but it's also using internal VPN, same as netguard

Obecny said:
Yes, but it's also using internal VPN, same as netguard
Click to expand...
Click to collapse
You could try using nextdns and using the private dns address but you'd have to block the websites of what app you want blocked from connecting to the internet and all that works without using your vpn

'Karma Firewall' blocks internet access to the apps I choose

Obecny said:
As the title says, I'm switching from Xiaomi mi 11 and there was a simple way to restrict any app from connecting to internet, the only way I have found so far in my s23u is netguard app, but it uses local VPN which is not the best solution as I am using it already with adaway as an adblocker
Click to expand...
Click to collapse
You can combine it with private DNS. I use AdGuards DNS

spart0n said:
Tracker control from github can stop any app from connecting to the internet
Click to expand...
Click to collapse
Take it easy ...
It is able much more. The sense of this app is to block tracking services used by you apps and let only connect to the internet your app and not spying services.

Obecny said:
As the title says, I'm switching from Xiaomi mi 11 and there was a simple way to restrict any app from connecting to internet, the only way I have found so far in my s23u is netguard app, but it uses local VPN which is not the best solution as I am using it already with adaway as an adblocker
Click to expand...
Click to collapse
You can try adhell3

Related

[Q]free VPN-server for android

Hello,
i´m looking for a free VPN-server like cyberghost which i can use on android.
Is there a change to use Openvpn on android?
Greets box90
Ive found this thread here http://forum.xda-developers.com/showthread.php?t=603179
i looked for some newer threads or post in other forums but i counldn´t found anything.
Is there a newer method to use Hotspot Shield?
Free Android VPN Service for Non Root Users
Create Free Account at Raptor VPN http://www.raptorvpn.com/api/form.php
Activate the account from your email
Now on to your ANdroid Device:
Settings -> Wireless and Networks
Click VPN Settings
Click Add VPN
Select Add L2TP/IPSec PSK VPN
Enter VPN Name: RaptorVPN
Enter VPN Server: l2tp.spotflux.com
Set IPSec pre-shared key to "raptor"
Save your settings
Now connect to "RaptorVPN" from the VPN menu
Screencaptures available at http://www.abtevrythng.com/2012/01/100-free-working-android-vpn-service.html
heartrobber18 said:
Create Free Account at Raptor VPN http://www.raptorvpn.com/api/form.php
Activate the account from your email
Now on to your ANdroid Device:
Settings -> Wireless and Networks
Click VPN Settings
Click Add VPN
Select Add L2TP/IPSec PSK VPN
Enter VPN Name: RaptorVPN
Enter VPN Server: l2tp.spotflux.com
Set IPSec pre-shared key to "raptor"
Save your settings
Now connect to "RaptorVPN" from the VPN menu
Screencaptures available at http://www.abtevrythng.com/2012/01/100-free-working-android-vpn-service.html
Click to expand...
Click to collapse
I haven't been able to connect.....Has anyone else been able to access?
yes, its working as described
finally i can use pandora
Here's a free VPN for your android http://droidvpn.com/
How about running your own VPN Server on your Android device and connect to it? Check this thread
http://forum.xda-developers.com/showthread.php?t=1829334
VPN Gate List with Open VPN Connect
Check out http://forum.xda-developers.com/showthread.php?t=2685153, its an app that provides all the VPN servers, its a huge list and its free (hosted by volunteers around the world), to use it just open the app and import into OpenVPN.
Market Link: https://play.google.com/store/apps/details?id=net.rejinderi.vpngatelist
DroidVPN said:
Here's a free VPN for your android http://droidvpn.com/
Click to expand...
Click to collapse
Need something more than just a free trial for a paid VPN....
You don't need to root your device to get OpenVPN service; I am using bVPN service with a secure account, encrypted connection and high speed browsing and without any connection problems. I am totally satisfied and I didn't need to root my device. You can check yourself http://www.vpnanswers.com/secure-android-with-openvpn-over-ssh-tunnel-without-root/
@Rejinderi
any updates? i mean where in a 2016.
Hi,
I'm looking for a Android VPN-Server App as well. Ultimate Server is a Paid-Version and for this money i can buy a raspberry pi and put openvpn on it.
Do you know a Freeware VPN-Server app for android? I would like to use it with openvpn.
NobodyNobody said:
Hi,
I'm looking for a Android VPN-Server App as well. Ultimate Server is a Paid-Version and for this money i can buy a raspberry pi and put openvpn on it.
Do you know a Freeware VPN-Server app for android? I would like to use it with openvpn.
Click to expand...
Click to collapse
Bump. A VPN server would be a great way to give functionality to old Android devices, and I agree that $7 for the Servers Ultimate is too much (you can get a Pogoplug Mobile for $9.50 shipped right now, and that has an Ethernet port).
I am sure no free Android VPN can support OpenVPN as it is an open source and most secure VPN protocol, you better try some cheap and affordable Android VPN via Google search
Free VPNs are not as much reliable as paid one. if you have small budget go with one month package and see how it works. I use PureVPN on Android phone and it works without any problem https://www.purevpn.com/vpn-app-for-android.php

vpn and adblock

On non rooted Android, is there any way to use a vpn app and the adblocks using dummy vpn like block this, adguard, netguard at the same time?
godusopp said:
On non rooted Android, is there any way to use a vpn app and the adblocks using dummy vpn like block this, adguard, netguard at the same time?
Click to expand...
Click to collapse
I am using Opera mini browser that have inbuilt proxy and blocks ads. You can check here in other browsers and opera mini.
Ashwinrg said:
I am using Opera mini browser that have inbuilt proxy and blocks ads. You can check here in other browsers and opera mini.
Click to expand...
Click to collapse
Sorry I didn't specified clearly. I meant to say adblock that blocks in app ads and a real vpn app at the same time.
godusopp said:
Sorry I didn't specified clearly. I meant to say adblock that blocks in app ads and a real vpn app at the same time.
Click to expand...
Click to collapse
Paid version of "Adguard" can block ads in all applications.
mirzakv said:
Paid version of "Adguard" can block ads in all applications.
Click to expand...
Click to collapse
Sorry for posting in this old story again, but I have the same question and I don't think it is answered now.
I typically use AdGuard on my non-rooted device. But if I connect to a public WIFI without (individual) password, I would like to have a 'real' vpn app, that encrypts my data. This VPN of course disables AdGuard, so I have no ad blocking anymore.
My question are:
Is there a 'real' VPN that
a) additionally blocks ads
b) automatically connects to unsecure WIFI (e.g. it doesn't need to connect to my home Wifi)
Thanks a lot,
W
Wrapp said:
Is there a 'real' VPN that
a) additionally blocks ads
b) automatically connects to unsecure WIFI (e.g. it doesn't need to connect to my home Wifi)
Click to expand...
Click to collapse
a) Private Internet Access has such an option (called PIA MACE). I do not know how efficient it is, though.
b) I don't know. PIA does not have such an option. Perhaps this could be solved using Tasker.
Local Filtering on Android in combination with real VPN:
personalDNSfillter with openVPN for personalDNSfilter

[Search] no root adblock without vpn

my problem is that i have a non rooted phone with vpn always on and im searching for an app to activating ad block on it.
My fix for it would be to use an android wide proxy or a custom dns that overrides vpn dns.
as title said an root app or an app that provides vpn solution wouldnt be what im searching for. I had once an adblock app that routes traffic trough local proxy beside the vpn but cant find it anymore
Update: i found AdHell but its only for Samsung Devices with knox. Any other solutions?
HeathenMan said:
Update: i found AdHell but its only for Samsung Devices with knox. Any other solutions?
Click to expand...
Click to collapse
any news on this one?
I wanna use protonVPN and adblcoker at same time
a bit of elbow grease to protect self from Privacy Raping
Some [open]vpn clients allow vpn side connection to Socks5. Some even allow toggle of LAN access from device. I am not claiming a finish product exists but perhaps this gives you some joy.
Perhaps your socks5 instance runs in Amazon AWS free tier. Maybe it runs locally on your android handset. Perhaps you run Privoxy itself on android. [@mod: privoxy is F/OSS older than this forum]. There are a few privoxy projects for android on github. Perhaps you pick their brain. It was that against which proxomitron competed [also F/OSS. Thank God for Scott Lemmon].
Using things in differing order you might search the article to which I may not link: Privoxy on Android (with EC2 VPN)
I wanted to bring the Amazon EC2-based Privoxy service to it, by way of a VPN.
Click to expand...
Click to collapse
There was no obvious way to contact the author who hasn't posted since 2016.
There is an OpenVPN service you can likely find the name of yourself offering *recently* an adblock toggle and AntiTracker toggle with a hardcode mode to protect you from predators like google and Fbook. It shouldn't be long before others emulate this functionality. It sports the vpn side socks5 option.
Or privoxy tunnel to remote [cloud (openvpn)]. See? Fun with permutations. Maybe from phone with ShadowSocks to cloud to vpn to web. "OpenVPN over shadowsocks". At this point look into sites helping Chinese dissidents.
You definitely then return here with your improvements to share.
The remaining question is how much is your time worth? Not much? Then search the web ad naseum for the 'ideal free' solution. Elsewise pony up some pennies for some cloud time as part of a solution.
Same question here !
And it seems that adhell is now only available for entreprise use
Wasn't AdGuard doing that?
yes you are right. it works with setting a private dns in the system settings with dns.adguard.com - no batterydrain - no more ads - no vpn - no root

Adblockers for Pixel 3 Root and Non-root recommendations.

Any favorites recommended that work well with the pixel 3? Looking for a non-rooted option (for now).
Blokada is the best option I can find. It's available on f-droid as well as directly from their website. Totally free and very configurable. No root required as it's using the built-in VPN functionality.
WITH ROOT, the king is Adaway for sure. Simple, lightweight and works great.
WITHOUT ROOT I'd personally recommend DNS66. Blocks host names via DNS through Android's VPN interface. Without ROOT that's as good as it gets, or another app very similar like sirebral123 mentioned above. Both are available on F-droid site.
How about just using the Brave browser? Built on chromium, faster than chrome, doesn't track you around, and it has ad blocking built in. Available in the play store and I use it on my desktop as well.
Droid1019 said:
How about just using the Brave browser? Built on chromium, faster than chrome, doesn't track you around, and it has ad blocking built in. Available in the play store and I use it on my desktop as well.
Click to expand...
Click to collapse
That doesn't remove ads that appear in apps.
Blokada is working pretty well. Thanks. Any preferences on hosts or dns servers to select or add? I was able to download it here on xda labs app. Same version available in fdroid.
To people recommending VPN apps to block ads.... you realize you are then funneling all of your phone's network traffic through their servers, right? That would make me wildly uncomfortable.
GldRush98 said:
To people recommending VPN apps to block ads.... you realize you are then funneling all of your phone's network traffic through their servers, right? That would make me wildly uncomfortable.
Click to expand...
Click to collapse
They run a local VPN on the phone, there is no 3rd party server
Sent from my Pixel 2 using XDA Labs
Cares said:
That doesn't remove ads that appear in apps.
Click to expand...
Click to collapse
If I find an app i like and use on a regular basis, I just pay for it and that takes care of the ads for me and supports the developer.
Well I feel like a horses ass. That's actually pretty clever.
I use a combination of PiHole at my house/work and brave browser.
Droid1019 said:
If I find an app i like and use on a regular basis, I just pay for it and that takes care of the ads for me and supports the developer.
Click to expand...
Click to collapse
Everyone should sign up for Google Opinion Rewards. It's a great way to get money for the Play Store and is perfect for this exact scenario.
https://play.google.com/store/apps/details?id=com.google.android.apps.paidtasks&hl=en_US
Droid1019 said:
If I find an app i like and use on a regular basis, I just pay for it and that takes care of the ads for me and supports the developer.
Click to expand...
Click to collapse
There are public apps that don't offer a pay to remove ads thing like sports score apps.
You may wanna give "adguard for android" a shot, i have a paid version, works like a charm..
Droid1019 said:
If I find an app i like and use on a regular basis, I just pay for it and that takes care of the ads for me and supports the developer.
Click to expand...
Click to collapse
Yeah but not every app has a "pay to make the ads go away" feature.
I'm rooted but prefer using Adguard. Being to disable ads for individual apps or website is a plus. Also, the app has a feature to allow the use of custom DNS which I have changed to use Cloudflare DNS. The VPN it creates is a local VPN, data DOES not get funneled to their site. i've been using adguard for over 2 years and paid lifetime. They do have a free trial
I can speak to both options. My phone and my wife's (Pixel 3 XL and Pixel 3) are both rooted and use AdAway. My sons' two phones (Huawei Mate SEs) and their tablet (Samsung Galaxy Tab S2 8") are not rooted and each have a lifetime licence of AdGuard. I notice pretty much no difference in terms of what they block. I can't do an A/B spead comparison, but none of their devices seem adversely impacted by AdGuard. I very seriously considered going to the OP6T for my wife and I and going with AdGuard and no root since I am on T-Mobile and would have used the OG Pixel XL and Pixel both as trade-ins. My decision to stay with Google phones and root had nothing to do with ad blocking. In fact, the three devices with AdGuard are easy enough to root. The Mates are BL unlocked, and the S2 is pretty easy already. Any difference between AdGuard and AdAway is simply not worth giving them root access that they don't need.
How do the VPN ad-blockers (like AdGuard) affect battery life? I assume they use more than Adaway or other root methods.
dsmero said:
I use a combination of PiHole at my house/work and brave browser.
Click to expand...
Click to collapse
Me too. Pi Hole is really good. Easy to install on a Raspberry Pi and it blocks ads and spyware on all devices connected to your network. Should you encounter a web site which doesn't work it is easy to suspend Pi Hole for a predertermined time, or until you re-enable it. A nice little project on very cheap hardware. You don't need the most expensive Raspberry Pi either - but I would recomment connecting it via ethernet so if anyone is interested make sure you buy a Pi with an ethernet socket.
[emoji1360] i already buy it before two years with life license. Its amazing
sneilkanth said:
You may wanna give "adguard for android" a shot, i have a paid version, works like a charm..
Click to expand...
Click to collapse
Sent from my Pixel 3 using Tapatalk

Are there any VPN apps with builtin firewall?

I can't root every device. But everyone needs both these 2 things at once on their device:
1. stuff like your keyboard app should never ever talk to the internet.
2. you need a vpn (also with dns and possibly tracker protection)
Android on all the popular devices famously does not let users deny the internet permission per app (it is a general always active permission)
You can also not use 2 "vpn" services at the same time.
If you're not rooted, you can't use iptables (so you can't use stuff like Afwall). -- correct me if I'm wrong and you have a godlike workaround
Most firewalls are just using android's "vpn" function. (e.g. netguard)
But we need the VPN for the actual VPN.
The only VPN app that also has a builtin firewall, is Adguard VPN. But it is too sketchy for my liking as reported here. It logs when and how much you use the vpn (which is equivalent to a fingerprint), their code was not audited, is closed source, and they are neither on fdroid nor on the paystore.
Does anyone know of any alternatives? I tried protonvpn and privateinternetaccess and blokada plus, but none of them have a firewall (you can bypass the vpn per app, but you can't block the app's internet).
I would gladly pay big bucks for a solution; seriously. Thanks.
PS: Don't suggest using a pihole or a router based VPN because I don't have that when I'm not home so that's == 0.
NetGuard perhaps...
https://netguard.me/
[CLOSED][APP][6.0+] NetGuard - No-root firewall
NetGuard provides simple and advanced ways to block access to the internet - no root required. Applications and addresses can individually be allowed or denied access to your Wi-Fi and/or mobile connection. Blocking access to the internet can...
forum.xda-developers.com
craigacgomez said:
NetGuard perhaps...
https://netguard.me/
[CLOSED][APP][6.0+] NetGuard - No-root firewall
NetGuard provides simple and advanced ways to block access to the internet - no root required. Applications and addresses can individually be allowed or denied access to your Wi-Fi and/or mobile connection. Blocking access to the internet can...
forum.xda-developers.com
Click to expand...
Click to collapse
m8, netguard is a "vpn" firewall. Hence you can't use netguard and also e.g. protonVPN at the same time. That is why I asked if anyone knows of an actual VPN app that happens to also have a builtin firewall. Adguard VPN is one example.
Twodordan said:
m8, netguard is a "vpn" firewall. Hence you can't use netguard and also e.g. protonVPN at the same time.
Click to expand...
Click to collapse
A VPN based solution is the only one that can work without root. There is no other non-root way to control the network other than to route it through a VPN.
In OpenVPN for Android you can, while setting up a profile, select which apps should be excluded from the VPN, and disallow apps to bypass the VPN at the same time. That should do the trick.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
craigacgomez said:
A VPN based solution is the only one that can work without root. There is no other non-root way to control the network other than to route it through a VPN.
Click to expand...
Click to collapse
Like I said, Adguard has in its VPN, a firewall and a vpn and a privacy shield all in one. It's fine that the firewall uses the vpn solution, as long as it is merged within an actual VPN app. This is what I was asking: Are there any vpn apps that also have firewall?
heinhuiz said:
In OpenVPN for Android you can, while setting up a profile, select which apps should be excluded from the VPN, and disallow apps to bypass the VPN at the same time. That should do the trick.
View attachment 5486079
Click to expand...
Click to collapse
You have not paid attention to what I am asking. I asked if anyone knows of any app that has both vpn and firewall.
I obviously don't want to make my system LESS SECURE by allowing apps to NOT USE VPN. Plus, every vpn app under the sun has a split tunnel feature that allows apps to bypass the vpn.
Twodordan said:
You have not paid attention to what I am asking. I asked if anyone knows of any app that has both vpn and firewall.
I obviously don't want to make my system LESS SECURE by allowing apps to NOT USE VPN. Plus, every vpn app under the sun has a split tunnel feature that allows apps to bypass the vpn.
Click to expand...
Click to collapse
You have not paid attention to what I am answering. I tell you that OpenVPN for Android lets you to select which apps you don't allow to use the VPN and AT THE SAME TIME (yes, I can YELL too) disallow apps to bypass the VPN. That results in those apps effectively being blocked from the Internet, true or not? If an app is not allowed to use the VPN and also not to bypass it, then ...
2 - 1 - 1 = 0. Think before you write, mister.
Twodordan said:
Like I said, Adguard has in its VPN, a firewall and a vpn and a privacy shield all in one. It's fine that the firewall uses the vpn solution, as long as it is merged within an actual VPN app. This is what I was asking: Are there any vpn apps that also have firewall?
Click to expand...
Click to collapse
So, you are looking for a VPN service that has firewall capabilities? I don't think I've seen one in the wild. Some security software providers might have this feature, but I can't verify that.
And alternative solution might be to use a local proxy server with rules to block apps from the internet which would allow you to use any VPN service you would like.
NetPatch Firewall
Full control over your network - One advanced android NoRoot firewall
netpatch.github.io
Block ads globally like this...
Concerned for the tone of the conversation here, I'll offer up THIS for your considerations.
Not to discount any previous suggestions, it is just the one that I use... sometimes... for some devices... for some reason... I'll wait in the shadows for the lashings.
heinhuiz said:
You have not paid attention to what I am answering. I tell you that OpenVPN for Android lets you to select which apps you don't allow to use the VPN and AT THE SAME TIME (yes, I can YELL too) disallow apps to bypass the VPN. That results in those apps effectively being blocked from the Internet, true or not? If an app is not allowed to use the VPN and also not to bypass it, then ...
2 - 1 - 1 = 0. Think before you write, mister.
Click to expand...
Click to collapse
Sorry I 100% thought if you tell an app to bypass the vpn, it bypasses the vpn, regardless of the generic setting of forcing apps to use vpn. I will experiment with this. And sorry for my harshness, my luck on forums lately was usually ppl answering the opposite of what I asked.
I will try actually to use my vpn app, set it to exclude an app from vpn, and then tell Android itself in the VPN settings to "block connections without VPN". Assuming Android's vpn switch doesn't leak (e.g. at startup or smth), that might do the trick.
Unfortunately openVPN doesn't work super well nowadays because most vpn providers chose to develop their own app / wrapper and no longer provide good openVPN guides (especially since their servers / configs change often, a static openvpn config doesn't cut it anymore). Even in linux I just use "the app" instead of openvpn configs.
Anyway, thanks I'll test soon
This isn't a practical / good solution at all for most people, because:
- you will need some apps to use the internet without a vpn (because they don't work with vpn etc)
- if you ever need to turn off your vpn globally and access the internet, say your subscription died or you just can't connect, then your "firewall" is nullified.
It's an all or nothing solution.
heinhuiz said:
Twodordan said:
This isn't a practical / good solution at all for most people, because:
- you will need some apps to use the internet without a vpn (because they don't work with vpn etc)
- if you ever need to turn off your vpn globally and access the internet, say your subscription died or you just can't connect, then your "firewall" is nullified.
It's an all or nothing solution.
Click to expand...
Click to collapse
You have not paid attention to what I am answering. I tell you that OpenVPN for Android lets you to select which apps you don't allow to use the VPN and AT THE SAME TIME (yes, I can YELL too) disallow apps to bypass the VPN. That results in those apps effectively being blocked from the Internet, true or not? If an app is not allowed to use the VPN and also not to bypass it, then ...
2 - 1 - 1 = 0. Think before you write, mister.
Click to expand...
Click to collapse
Unfortunately that's not a solution. There are many apps that need to bypass VPN while still being able to connect to Internet, like banking apps.
While I can always just turn off the VPN before using such apps, that would also turn off the firewall feature, right? Going by that logic, I can always just turn off the Internet before using any app I want to disallow from accessing to Internet.
It kills multitasking, not that Android has much multitasking capability to begin with...sadly.
sbcontt said:
Unfortunately that's not a solution. There are many apps that need to bypass VPN while still being able to connect to Internet, like banking apps.
While I can always just turn off the VPN before using such apps, that would also turn off the firewall feature, right? Going by that logic, I can always just turn off the Internet before using any app I want to disallow from accessing to Internet.
It kills multitasking, not that Android has much multitasking capability to begin with...sadly.
Click to expand...
Click to collapse
If you want certain apps to use the Internet while you are connected through a VPN, you should sandbox them inside a Work Profile. Depending on your ROM, you might need an app like Island or Shelter to create that separated environment. This way you can use all your normal apps in the main profile with the VPN running, and those apps that need it can connect directly from the work environment. Mind that the apps in the different profiles cannot see each other, which can be a privacy bonus but also makes collaboration between them slightly more complex.
heinhuiz said:
If you want certain apps to use the Internet while you are connected through a VPN, you should sandbox them inside a Work Profile. Depending on your ROM, you might need an app like Island or Shelter to create that separated environment. This way you can use all your normal apps in the main profile with the VPN running, and those apps that need it can connect directly from the work environment. Mind that the apps in the different profiles cannot see each other, which can be a privacy bonus but also makes collaboration between them slightly more complex.
Click to expand...
Click to collapse
Had no idea work profile has its own VPN slot. Thx for the suggestion. The setup is working pretty smoothoy. Only concern: work profile apps can't automatically read OTP. So far, all the apps I use allow manually entering OTP. Hopefully it would be an issue. Also, I can't disable notifications of work profile apps by categories. It is either all or none.

Categories

Resources