{"id":13826899,"url":"https://github.com/shivam141296/android-firewall","last_synced_at":"2025-07-09T02:32:35.945Z","repository":{"id":147157317,"uuid":"112639512","full_name":"shivam141296/Android-Firewall","owner":"shivam141296","description":"Basic netguard app from playstore ,reduced to its minimum level for vpn and firewall logic","archived":false,"fork":false,"pushed_at":"2018-12-13T06:32:12.000Z","size":498,"stargazers_count":46,"open_issues_count":1,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-05T09:15:50.905Z","etag":null,"topics":["android","firewall","internet","listview","networking","security","vpn-service"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shivam141296.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-30T17:20:10.000Z","updated_at":"2024-07-06T02:18:42.000Z","dependencies_parsed_at":"2024-01-07T22:49:59.499Z","dependency_job_id":"6327c9eb-63e4-4405-8d9e-f5d622570876","html_url":"https://github.com/shivam141296/Android-Firewall","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam141296%2FAndroid-Firewall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam141296%2FAndroid-Firewall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam141296%2FAndroid-Firewall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivam141296%2FAndroid-Firewall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivam141296","download_url":"https://codeload.github.com/shivam141296/Android-Firewall/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225481031,"owners_count":17481139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","firewall","internet","listview","networking","security","vpn-service"],"created_at":"2024-08-04T09:01:46.297Z","updated_at":"2024-11-20T06:30:34.708Z","avatar_url":"https://github.com/shivam141296.png","language":"Java","funding_links":[],"categories":["\u003ca id=\"863839860fab4b8601905205cac9b54f\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"471c124b012dbde8ea3288f35667efc8\"\u003e\u003c/a\u003e流量检测"],"readme":"# Android Firewall\n\n\u003cimg src=\"Logotype primary.png\" width=\"60%\" height=\"60%\" /\u003e\n\nNetGuard is possibly the first free and open source no-root firewall for Android.\n\n\u003cimg src=\"screenshot.png\" width=\"232\" height=\"371\" hspace=\"4\"/\u003e\n\nFeatures\n--------\n\n* No root required\n* Simple to use\n* Free of charge\n* Open source\n* No extra battery usage\n* No calling home\n* No tracking or analytics\n* No ads\n* IPv4/IPv6 TCP/UDP supported\n\nNetGuard doesn't even require the *internet* permission!\n\nUsage\n-----\n\n* Enable the firewall using the switch in the action bar\n* Allow/deny WiFi/mobile internet access using the icons at the right side of the application list\n\nPermissions\n-----------\n\n* ACCESS_NETWORK_STATE: to check if the device is connected to the internet through WiFi\n* RECEIVE_BOOT_COMPLETED: to start the firewall when starting the device\n\nFrequently Asked Questions (FAQ)\n--------------------------------\n\n\u003ca name=\"FAQ1\"\u003e\u003c/a\u003e\n**(1) Can Android Firewall completely protect my privacy?**\n\nNo - nothing can completely protect your privacy.\n will do its best, but it is limited by the fact it must use the VPN service.\nThis is the trade-off required to make a firewall which does not require root access.\nThe firewall can only start when Android \"allows\" it to start,\nso it will not offer protection during early boot-up (although your network may not be loaded at that time).\nIt will, however, be much better than nothing, especially if you are not rebooting often.\n\nIf you want to protect yourself more, you can (at least in theory) disable WiFi and mobile data before rebooting,\nand only enable them on reboot, after the firewall service has started (and the small key icon is visible in the status bar).\n\nThanks @[pulser](https://github.com/pulser/)\n\n\u003ca name=\"FAQ2\"\u003e\u003c/a\u003e\n**(2) Can I use VPN applications while using Android Firewall?**\n\nIf the VPN application is using the [VPN service](http://developer.android.com/reference/android/net/VpnService.html),\nthen no, because Android Firewall needs to use this service, and Android allows only one application at a time to use this service.\n\n\u003ca name=\"FAQ3\"\u003e\u003c/a\u003e\n**(3) Can I use Android Firewall on any Android version?**\n\nNo, because the method [addDisallowedApplication](http://developer.android.com/reference/android/net/VpnService.Builder.html#addDisallowedApplication(java.lang.String))\nis being used, the minimum required Android version is 5.0 (Lollipop).\n\n\u003ca name=\"FAQ4\"\u003e\u003c/a\u003e\n**(4) Will Android Firewall use extra battery power?**\n\nNo, unlike most of the similar closed source alternatives.\n\n\u003ca name=\"FAQ5\"\u003e\u003c/a\u003e\n**(5) Can you add selective allowing/blocking IP addresses?**\n\nUnfortunately this is not possible without using significant battery power\nand adding a lot of complex code to do network translation from OSI layer 3 to layer 4\n(and thus implementing a TCP/IP stack), which will inevitably introduce bugs as well.\nThis is how most (all?) other no root firewalls work.\nAndroid Firewall is unique, because it doesn't implement a TCP/IP stack and is therefore both highly efficient and simple.\n\nFor more advanced use cases while not sacrificing battery usage, rooting and using a iptables based firewall,\nlike [AFWall+](https://github.com/ukanth/afwall) might be a better option.\n\nSupport\n-------\n\n* Questions: please [use this XDA-Developers forum thread](http://forum.xda-developers.com/showthread.php?t=3233012)\n* Feature requests and bugs: please [report an issue on GitHub](https://github.com/shivam141296/Android-Firewall/issues)\n\nPlease do not use GitHub for questions.\n\nContributing\n------------\n\nTranslations:\n\n* Translations to other languages are welcomed\n* Check if the language [is supported by Android](http://stackoverflow.com/questions/7973023/what-is-the-list-of-supported-languages-locales-on-android) and find its locale\n* Copy [this file](https://github.com/shivam141296/Android-Firewall/blob/master/app/src/main/res/values/strings.xml) to the correct locale folder\n\n* Translate the strings in the copied file and omit all lines with **translatable=\"false\"**\n* Create a [pull request on GitHub](https://help.github.com/articles/using-pull-requests) for the new/updated translation\n\nPlease note that you agree to the license below by contributing, including the copyright.\n\n\nLicense\n-------\n\n[GNU General Public License version 3](http://www.gnu.org/licenses/gpl.txt)\n\nCopyright (c) 2015 Marcel Bokhorst ([M66B](http://forum.xda-developers.com/member.php?u=2799345))\n\nAll rights reserved\n\nThis file is part of Android Firewall.\n\nAndroid Firewall is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your discretion) any later version.\n\nAndroid Firewall is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with NetGuard. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam141296%2Fandroid-firewall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivam141296%2Fandroid-firewall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivam141296%2Fandroid-firewall/lists"}