Categories: Linux Administration

How to Unban an IP Address Using IPTables on a Linux Server

In this Tutorial we will explain how you can simply unban any IP address on your Linux Server.

Pro Tip: We recommend you make sure the IP Address in question is IN FACT the one that you want to unban. Sometimes IPTables will ban IP addresses that are in fact malicious, however in some cases especially with failed logins that are indeed benign.

Step 1:     Login to the server as root user

Step 2: Use the commands given below

iptables -D INPUT -p all -s IP.ADDRESS.HERE -j DROP
iptables -D OUTPUT -p all -s IP.ADDRESS.HERE -j DROP

After executing the above commands, you should be able to remove the IP address

you wish from the list of banned IP addresses.

Step 3″ Save and restart the IP tables service by using the commands given below

service iptables save
service iptables restart

You should now have successfully unbanned your IP address.

serverhub

Recent Posts

A Comprehensive Guide to Microsoft SQL Server

What is Microsoft SQL Server? Microsoft SQL Server is a relational database management system (RDBMS)…

2 weeks ago

Prometheus: Powerful Open-Source Monitoring & Alerting Toolkit

Welcome to the wild world of Prometheus monitoring! If you've ever wondered how to make…

3 weeks ago

A Comprehensive Guide to Zabbix: Installation, Configuration, and Monitoring

What is Zabbix? For seamless IT operations, Zabbix provides real-time monitoring, alerting, and visualization tools.…

1 month ago

Unlocking the Power of Splunk: A Comprehensive Guide

Splunk is a cutting-edge data analytics platform designed to search, monitor, and analyze machine-generated data…

2 months ago

Oracle Database: In-Depth Guide & FAQs (Simple, Clear and Includes “FAQs”)

What is Oracle Database? Oracle Database is a powerful, multi-model database management system developed by…

2 months ago

Fail2Ban: Protect Your Linux System from Brute-Force Attacks – Open-Source Security Tool

Fail2Ban is an intrusion prevention software framework, written in the Python programming language. It is…

3 months ago

This website uses cookies.