S
S
Stanislav2019-10-11 16:56:52
Debian
Stanislav, 2019-10-11 16:56:52

How to properly block a network of ip addresses?

Tell me how to properly block the ip network, otherwise I'm afraid to cheat) The
server receives a lot of requests from IP addresses
40.77.*.*
All of them have identical only the first four digits
How to block them through iptables with one rule?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
�
Дмитрий, 2019-10-11
@ms-dred

iptables -I INPUT -s 44.77.0.0/16 -j DROP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question