Skip to content

Instantly share code, notes, and snippets.

@v3l0c1r4pt0r
Created November 25, 2018 08:23
Show Gist options
  • Save v3l0c1r4pt0r/8b7615f97870967a2d17d6b13d01ec83 to your computer and use it in GitHub Desktop.
Save v3l0c1r4pt0r/8b7615f97870967a2d17d6b13d01ec83 to your computer and use it in GitHub Desktop.
Custom droidwall script to fix few things
# nobody uid - tethering
$IPTABLES -A droidwall-wifi -j RETURN -m owner --uid-owner 9999
# orbot - diffefent user
$IPTABLES -A droidwall -j RETURN -m owner --uid-owner <PIDOF-ORBOT>
# system - wifi check
$IPTABLES A droidwal-wifi -j RETURN -m owner --uid-owner 1000 -p tcp -d connectivitycheck.gstatic.com --dport 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment