Latest Posts

How to add an IP to the DenyHosts whitelist

Linux
Create a file 'allowed-hosts' in the 'work_dir' (which can be found in the denyhosts.conf file), located at /var/lib/denyhosts on Ubuntu, containing the IP addresses. See the example below: cat <>…
Read more →

How to unblock an IP in Fail2ban

Linux
Find IP Address to Unblock Log in to your server via SSH and type in the following command: iptables -L -n Look for the IP address you want to unblock / unban. Now we must find the jail name this IP…
Read more →

How to whitelist an IP in Fail2ban

Linux
First, edit the config file: vi /etc/fail2ban/jail.conf Then, check the line: ignoreip = Now add all the IPs you want. Each IP or IP range must be placed here separated by a space. Ex: 192.168.0.1…
Read more →