
ショコラ
iptables で不正なIPをアクセス拒否するには?
Webサーバーがクローラーのアクセスによって重くなってしまった。
iptables で不正なアクセスを止めた記録です。

もっさん先輩
iptables -A INPUT -s 3.0.0.0/8 -j DROP
iptables -A INPUT -s 13.0.0.0/8 -j DROP
iptables -A INPUT -s 18.0.0.0/8 -j DROP
iptables -A INPUT -s 18.222.116.87/32 -j DROP
以上