- First check that ip is blocked or not
- iptables –L –n | grep
DROP all -- 125.99.10.123 216.240.157.91
- to unblock the ip give the command
iptables -D INPUT -s 125.99.10.123 -d 216.240.157.91 -j DROP
Now the ip is unblocked.
- How to block the IP using iptables
=>
/sbin/iptables -A INPUT -s 81.91.64.167 -j DROP
No comments:
Post a Comment