Hello,
one IP spam my server ,please help me to block this ip in my server thanks.
Thanks.
How to block an IP address in dedicated server?
Re: How to block an IP address in dedicated server?
Execute the following command in order to block an IP address from accessing your server:
iptables -I INPUT -s IPaddress -j DROP
Simply replace IP address with the IP you want to block.
iptables -I INPUT -s IPaddress -j DROP
Simply replace IP address with the IP you want to block.