Blog about system engineering, programming and networks
vi /usr/bin/ban_ip.sh
#!/bin/sh iptables -I INPUT -p tcp -s $1 --dport 80 -j DROP
chmod +x /usr/bin/ban_ip.sh
ban_ip.sh 11.22.33.44
Note: only a member of this blog may post a comment.
No comments :
Post a Comment
Note: only a member of this blog may post a comment.