Syntax to block an IP address via iptables under Linux
CentOS / RHEL / Fedora Block An IP And Save It To Config File
# iptables -A INPUT -s IP_ADDRESS -j DROP // (add the rule at the end) # iptables -I INPUT -s IP_ADDRESS -j DROP // (insert the rule at the beginning) # service iptables save
No comments:
Post a Comment