this post was submitted on 02 Mar 2025
50 points (93.1% liked)
Privacy
37124 readers
339 users here now
A place to discuss privacy and freedom in the digital world.
Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.
In this community everyone is welcome to post links and discuss topics related to privacy.
Some Rules
- Posting a link to a website containing tracking isn't great, if contents of the website are behind a paywall maybe copy them into the post
- Don't promote proprietary software
- Try to keep things on topic
- If you have a question, please try searching for previous discussions, maybe it has already been answered
- Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
- Be nice :)
Related communities
much thanks to @gary_host_laptop for the logo design :)
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Netguard also has a separate lockdown mode (which only enables a few apps, or none, to go through) that if toggled automatically based on connected network would enable you to dictate which apps can use untrusted networks.
While there are lots of apps that automate some sort of action based on the name of the WiFi network, activating the lockdown mode in Netguard is more specific, and I doubted if it's even possible. To start, I came up with a Termux command invocation that toggles the lockdown mode in Netguard. After customizing the quick settings (near the notification area) this
adb
command confirms that this method for toggling Netguard's lockdown mode really works:Default Termux doesn't request the necessary permission which impeded the command from running, however:
So this is where I'm at, I could probably just use Tasker to like some people do to run the
cmd statusbar
command, but I also wanted to call some attention to the issue report on the Termux repository regarding this permission.EDIT: There's a high likelyhood it won't work on Tasker without root, and on termux it also wouldn't work even if you managed to request the permission.