Low battery mode
See original GitHub issueCurrently, the battery consumption is uber high. Power consumption hasn’t been analyzed but it highly likely it is due to all the traffic filtering that occurs in the name of Firewall and the full-tunnel VPN in-use (routing 0.0.0.0
).
Split-tunnel DNS:
If the user needs just the DNS (without firewall), probably it is best to add only port 53 (split-tunnel) to the routes when vpn-service is built / started / re-started. This might be a preferable default, too?
VPN Blackhole:
If the user just needs Firewall (without connection tracking #3 and #16 and DNS), VPN could be run as a blackhole (without creating a forwarding tunnel) wherein all incoming packets from allowed apps end up going exactly no where.
App Kill:
Kill apps that are firewalled. The connections from the app are blocked anyway and so if those apps aren’t in the foreground they only end up draining extra power by retrying repeatedly to connect.
The UI might be tricky to get right, I am thinking, probably a user preference in the DNS and Firewall screen to enable low battery mode, with a prompt on the homescreen with a clickable chip to enable it (when device battery is low).
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6
Top GitHub Comments
Blackhole mode of firewall is great idea.
The “glasswire” app in android already do that.
(It doesn’t have internet permission yet it blocks apps by creating a local vpn)
Also i have some more suggestions, you can add an option to disable anything that can increase battery usage like showing website icons, estimating dns response time, and disabling reverse dns (if you have it to estimate and show what website is using an ip)
Best regards.
app kill
, since it doesn’t work, has been removed inv053k
(released today).