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 10, 2020 in Linux Administration by akhtar
• 38,210 points
180 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 10, 2020 by MD
• 95,300 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,640 points
7,223 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
3,000 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,170 points
333 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
203 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,230 points
374 views
0 votes
2 answers

Install postgreSQL on Ubuntu

Follow the below commands to install PostgreSQL (PSQL) ...READ MORE

answered Nov 12, 2020 in Database by Prachi
• 140 points
317 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
232 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, 2020 in Linux Administration by MD
• 95,300 points
134 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, 2020 in Linux Administration by MD
• 95,300 points
2,667 views