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

Learn About Let’s Encrypt: A Free SSL/TLS Certificate Provider

Let's Encrypt is a nonprofit certificate authority offering free, automated, and open digital certificates for…

2 weeks ago

Cloudflare: Content Delivery Network and DDoS Mitigation for Website Performance and Security

In today’s digital world, speed, security, and reliability are paramount when it comes to delivering…

3 weeks ago

How to Use the Right Protocols to Monitor Network Traffic

Network Monitoring is the process of discovering, mapping, and monitoring a computer network to ensure…

1 month ago

How to Monitor Network Traffic: A Technical Guide to Effective Network Performance Monitoring

Monitoring network traffic is a crucial component of maintaining a healthy IT infrastructure. Whether you're…

2 months ago

Using NetCrunch for Monitoring Monthly Network Usage

Monitoring network utilization is critical for efficiency, security, and peak performance in today's data-driven environment.…

2 months ago

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 months ago

This website uses cookies.