New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
iptables

in Help
Hello, how do i block subnets with iptables? I need to block because i get like 50 attempts every day from same subnet.
This discussion has been closed.
Comments
Lots of ways to do this, the simplest being:
/sbin/iptables -i eth0 -A INPUT -s 10.0.0.0/8 -j DROP
http://lmgtfy.com/?q=block+subnets+iptables
Thanks guys! I forgot to google it first though Lol
@Nekki @mpkossen Please close this thread - Got the command