Created
January 14, 2024 09:42
-
-
Save unleftie/4d7a0a9f21c78d4be5d8608b4b377847 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see https://github.com/ukanth/afwall/wiki/CustomScripts#some-examples | |
OEM_SCRIPT_PATH=/system/bin/oem-iptables-init.sh | |
IP6TABLES=/system/bin/ip6tables | |
IPTABLES=/system/bin/iptables | |
# block ota-cache2.googlezip.net | |
$IPTABLES -A "afwall" -d 209.85.137.5 -j REJECT | |
# block ota-cache1.googlezip.net | |
$IPTABLES -A "afwall" -d 209.85.137.4 -j REJECT | |
# block ota.googlezip.net | |
$IPTABLES -A "afwall" -d 216.239.32.112 -j REJECT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see https://forum.xda-developers.com/t/systemless-adaway-with-magisk.3733839/ | |
0.0.0.0 ota-cache2.googlezip.net | |
0.0.0.0 ota-cache1.googlezip.net | |
0.0.0.0 ota.googlezip.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment