denyhosts keeps adding back my IP

前端 未结 9 1378
Happy的楠姐
Happy的楠姐 2021-01-30 11:39

I am trying to unblock an IP from which I was doing some tests. I have followed the tutorials on the net:

$ sudo /etc/init.d/denyhosts stop
$ sudo vim /etc/deny.         


        
9条回答
  •  广开言路
    2021-01-30 12:06

    Nothing worked but Answer by Oleksandr Shmyheliuk

    Used following two commands

    iptables -L -n -v | grep 49.33.135.137
    

    if there is output then use following command

    iptables -D INPUT -s 49.33.135.137 -j DROP 
    

提交回复
热议问题