How to use IPTables to block all SSH traffic (port 22) except for your IP

Blocking traffic to port 22 (SSH) is one of the first steps you should take when hardening a server. Locking down port 22 not only keeps unwanted people from gaining access to your server, it also helps prevent a certain type of DDoS attacks called SYN floods. Using IPTables and a whitelist approach is the quickest and easiest ways to accomplish this.
Read More

Restrict Access to the WordPress Admin Dashboard Based on IP Address

The Admin Dashboard is one of the weakest links when it comes to securing WordPress. One way of securing the WordPress dashboard is using .htaccess to whitelist any IPs that you want to have access, and blocking everyone else. This method is quick and easy, and it works well because attackers can’t attack what they can’t see.

Here are two different ways to use .htaccess to block access to the WordPress Admin Dashboard based on IP address.
Read More