Skip to content

Instantly share code, notes, and snippets.

@icot
Last active December 15, 2015 10:19
Show Gist options
  • Save icot/5245353 to your computer and use it in GitHub Desktop.
Save icot/5245353 to your computer and use it in GitHub Desktop.
Iptables
#Youtube ADS filtering
$IPTABLES -A INPUT -s 206.111.0.0/16 -j REJECT
$IPTABLES -A INPUT -s 173.194.55.0/24 -j REJECT
# Opening port 80
iptables -I INPUT -p tcp --dport 80 -j ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment