New here? Register and read our Community Rules. Accounts are approved by hand.
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.
0
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