I have noticed a bot trying a brute force on one of my CMS’s.
When I try to add the IP address with <pre>iptables -A INPUT -s 91.207.6.154 -j DROP</pre> it shows in iptables as <pre> DROP all – 154.6.207.91.unknown.SteepHost.Net anywhere</pre> and the ip is still able to connect to the server. Am I doing something wrong with adding the IP? Can I add the IP and not have the host for that IP show in iptables? Maybe that has something to do with it.
Thank you
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Try adding it to the top of the chain: <br> <br>Delete the old rule: <br><pre>iptables -D INPUT -s 91.207.6.154 -j DROP</pre> <br>Re-add it: <br><pre>iptables -I INPUT -s 91.207.6.154 -j DROP</pre>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.