Fail2ban unban a IP or Unblock an IP

cd /var/log/

nano fail2ban.loga and search for banned IP address.

 

iptables –L –n

Get the banned type from the output and try the following:

fail2ban-client set ssh-iptables unbanip 192.168.1.101

 

ssh-iptables can be replaces by banned type like “pbx-gui”

 

Advertisements
By simplemsexchange Posted in VOIP

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s