fabio / iptables against China
0 likes
0 forks
1 files
Last active
| 1 | #!/bin/bash |
| 2 | |
| 3 | # iptables -F |
| 4 | |
| 5 | # Ban the whole of China until it stops spamming |
| 6 | iptables -I INPUT -s 1.24.0.0/13 -j DROP |
| 7 | iptables -I INPUT -s 111.0.0.0/10 -j DROP |
| 8 | iptables -I INPUT -s 112.0.0.0/10 -j DROP |
| 9 | iptables -I INPUT -s 113.128.0.0/12 -j DROP |
| 10 | iptables -I INPUT -s 113.168.0.0/13 -j DROP |
Newer
Older