How to unblock one IP from black list?

0 votes

Hi Guys,

I blocked one IP address so that the IP can't connect to my webserver. Now I want to unblock this IP address. How can I do this?

Jun 9 in Linux Administration by akhtar
• 18,250 points
58 views

1 answer to this question.

0 votes

Hi@akhtar,

To unblock your blacklisted IP address, you can use the below-given command.

$ iptables -D INPUT -s 10.0.0.124 -p tcp --destination-port 80 -j DROP
$ iptables-save > /etc/sysconfig/iptables

Hope this will help.

answered Jun 9 by MD
• 42,420 points

Related Questions In Linux Administration

0 votes
1 answer

How to Unblock SSH and FTP Access to Specific IP in Linux?

Firewalls(most of them) can either Reject or ...READ MORE

answered Jul 16, 2019 in Linux Administration by Archana
• 5,600 points
2,554 views
0 votes
1 answer

How to display a simple list of all disks, like this /dev/sda /dev/sdb ?

You can list all the disk in ...READ MORE

answered Jul 12, 2018 in Linux Administration by DearestOne
• 200 points
681 views
0 votes
1 answer

How to take input from user in bash script?

You can use if-else branch to check ...READ MORE

answered Jan 31, 2019 in Linux Administration by Omkar
• 69,020 points
120 views
0 votes
1 answer

How to collect all output in one file?

You can use 2> to redirect it: foo ...READ MORE

answered Mar 1, 2019 in Linux Administration by ajs3033
• 7,280 points
82 views
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
162 views
0 votes
1 answer

Install postgreSQL on Ubuntu

Installing PostgreSQL on Ubuntu is very simple, ...READ MORE

answered Mar 22, 2019 in Database by Nitesh
138 views
0 votes
1 answer

Access progrs prompt without switching accounts

Use the following to get the postgres prompt ...READ MORE

answered Mar 22, 2019 in Database by Mahi
93 views
0 votes
1 answer

How to delete one user from CentOS system?

Hi@akhtar, You can use userdel command to delete ...READ MORE

answered Jun 19 in Linux Administration by MD
• 42,420 points
38 views
0 votes
1 answer

How to run GUI program in SSH server from remote desktop?

Hi@akhtar, First you have to configure SSH server ...READ MORE

answered Mar 31 in Linux Administration by MD
• 42,420 points
245 views