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

Overview of Proxmox VE: Open-source Virtualization Management Platform

Overview of Proxmox VE: Open-source Virtualization Management Platform Proxmox Virtual Environment (VE) is an open-source…

2 days ago

Comprehensive Guide to Oracle, Microsoft SQL Server, PostgreSQL, and MongoDB: Download, Install, and Configure

Introduction to Oracle Database Oracle Database is a widely adopted relational database management system (RDBMS)…

3 weeks ago

Comprehensive Guide to MySQL: Download, Install, and Configure on Ubuntu and macOS

Introduction to MySQL MySQL is one of the most widely used open-source relational database management…

2 months ago

Deep Learning Applications: Factors to Consider in Choosing the Best Server

Deep learning is a type of artificial intelligence that teaches computers to learn from large…

3 months ago

Comprehensive Guide to OpenSSH: Secure Connectivity for Remote Login

OpenSSH or Open Secure Shell is a powerful suite of tools that provides secure remote…

5 months ago

Mastering VMware ESXi: An Ultimate Guide to Virtualization

Virtualization has become a cornerstone of modern IT infrastructure in today's digital era. Among the…

5 months ago

This website uses cookies.