What I Learned Today
iptables dropping traffic

Here is a simple rule to drop traffic from a source using linux iptables

sudo iptables -A INPUT -s 192.168.247.1 -j DROP

to remove the rule at a later time, run:

sudo iptables -D INPUT -s 192.168.247.1 -j DROP

  1. w-i-l-t posted this