Fail2ban – remove banned ip address from iptables

Your colleagues were trying to access production server via FTP. However exceeded the maximum number of failed logins, their IP address got blacklisted on iptables.
How do you remove their ip address from the blacklist?

Check their ip address with iptables

# sudo iptables -L

...
Chain fail2ban-vsftpd (1 references)
target     prot opt source               destination
DROP       all  --  192.168.1.156        anywhere
RETURN     all  --  anywhere             anywhere

Remove ip address from iptables

# sudo iptables -D fail2ban-vsftpd -s 192.168.1.156 -j DROP

Verify the iptables

# sudo iptables -L

...
Chain fail2ban-vsftpd (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere