Created
May 1, 2017 05:48
-
-
Save pellaeon/9792a86bd0233029de42928462246ed5 to your computer and use it in GitHub Desktop.
Allow traffic of apps in work profile to pass, set this as AFWall custom script
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
IP6TABLES=/system/bin/ip6tables | |
IPTABLES=/system/bin/iptables | |
$IPTABLES -A afwall-3g-home -m owner --uid-owner 1010082 -j RETURN | |
$IPTABLES -A afwall-3g-home -m owner --uid-owner 1010105 -j RETURN | |
$IPTABLES -A afwall-3g-home -m owner --uid-owner 1010172 -j RETURN | |
$IPTABLES -A afwall-wifi-wan -m owner --uid-owner 1010082 -j RETURN | |
$IPTABLES -A afwall-wifi-wan -m owner --uid-owner 1010105 -j RETURN | |
$IPTABLES -A afwall-wifi-wan -m owner --uid-owner 1010172 -j RETURN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment