I recently found out how to "block" an IP address from your computer, with this command:
sudo iptables -A INPUT -s 220.127.116.11 -j DROP #Blocks 18.104.22.168 from your computer
I was wondering, how could I do this for ALL hosts on the network, not only my machine.
I am running Kali Linux.
SCENARIO: Lets say my "Internet Cafe" is suffering from a DoS attack. If I want to block the IP address that is sending me packets, how would I do so?
BREAKDOWN: Attacker is using Low Orbit Ion Cannon to DoS my Network, using my PUBLIC IP address (Attacker is from outside the network) I want to block the attackers IP address from reaching my network