Fail2ban: unblock an ip

Bschelst/ August 7, 2017/ Linux/ 0 comments

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 address is in. To do so, type the following: fail2ban-client status unban the IP: fail2ban-client set ssh unbanip

Fail2ban: whitelist an ip

Bschelst/ August 7, 2017/ Linux/ 0 comments

First, edit the config file : vi /etc/fail2ban/jail.conf Then, check the line : ignoreip = Add now add all ip you want. Each IP or range IP must be placed here with a space. Ex: Save. And restart Fail2Ban: service fail2ban restart

HAProxy: configure transparent proxy

Bschelst/ August 4, 2017/ Linux/ 0 comments

If you configure HAProxy by default, the backends will receive the IP address of the HAProxy as incoming IP address. Some applications (or people) don’t want that. It is possible to configure haproxy as transparent proxy, so that the IP of the client is being used. First of all you need to ensure that you have a Linux kernel with

Read More