2019-08-22 02:37:08 +00:00
|
|
|
*filter
|
|
|
|
:INPUT DROP
|
|
|
|
:FORWARD DROP
|
|
|
|
:OUTPUT ACCEPT
|
2019-10-17 15:58:22 +00:00
|
|
|
-A INPUT -s 110.240.0.0/12 -m comment --comment "Bytespider crawler, aggressive" -j DROP
|
2019-10-17 16:03:07 +00:00
|
|
|
-A INPUT -s 111.224.0.0/14 -m comment --comment "Bytespider crawler, aggressive" -j DROP
|
2019-10-17 16:20:04 +00:00
|
|
|
-A INPUT -s 220.243.128.0/20 -m comment --comment "Bytespider crawler, aggressive" -j DROP
|
2019-08-22 02:37:08 +00:00
|
|
|
-A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
|
|
|
|
-A INPUT -i lo -j ACCEPT
|
|
|
|
-A INPUT -p icmp --icmp-type ping -j ACCEPT
|
|
|
|
-A INPUT -p tcp --dport 22 -j ACCEPT
|
|
|
|
-A INPUT -p tcp -m multiport --dports 80,443 -j ACCEPT
|
|
|
|
-A INPUT -p tcp --dport 5665 -j ACCEPT
|
|
|
|
COMMIT
|