Created
October 17, 2017 23:10
-
-
Save zmaplex/052380bf86b24e1aae04ba0b568e7308 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
iptables -A INPUT -s 219.158.0.0/16 -p TCP -j DROP | |
iptables -A OUTPUT -s 219.158.0.0/16 -p TCP -j DROP | |
iptables -A INPUT -s 202.97.0.0/16 -p TCP -j DROP | |
iptables -A OUTPUT -s 202.97.0.0/16 -p TCP -j DROP | |
iptables -A INPUT -s 223.120.0.0/16 -p TCP -j DROP | |
iptables -A OUTPUT -s 223.120.0.0/16 -p TCP -j DROP | |
iptables -A INPUT -s 221.176.0.0/16 -p TCP -j DROP | |
iptables -A OUTPUT -s 221.176.0.0/16 -p TCP -j DROP | |
iptables -A INPUT -s 221.183.0.0/16 -p TCP -j DROP | |
iptables -A OUTPUT -s 221.183.0.0/16 -p TCP -j DROP | |
service iptables save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment