[BlueOnyx:11911] Re: Blocked IP - locked myself out

Chuck Tetlow chuck at tetlow.net
Sun Jan 6 01:03:17 -05 2013


Not sure about the FTP - but I can see that's the wrong syntax for deleting a rule from IPTables.

First, use "iptables -L -n" to see the firewall rules in IPTables.  Look for the rule that contains your own IP address.  Count down the rules in that chain.  You'll probably be looking in the chain "acctin" which are the rules pertaining to incoming packets.  But your IP may be in "acctout" too - the chain acting on outgoing packets.

If the rule containing your IP address is the fifth rule down in the chain "acctin" of IPTables - use the syntax
iptables -D acctin 5
Which will delete the fifth rule in the chain "acctin".

If you find your IP address in the "acctout" chain too - delete it the same way.  But I don't think you'll find a outgoing block too, just a incoming block.

Chuck

---------- Original Message -----------
From: Brian Santee <b.santee at visions-online.com> 
To: blueonyx at mail.blueonyx.it 
Sent: Sat, 5 Jan 2013 23:38:28 -0600 
Subject: [BlueOnyx:11910]  Blocked IP - locked myself out

> I put together a windows 8 machine this week and was trying to upload some files via FTP. This connection failed for whatever reason and my IPwas blacklisted by the server. I cannot even pull up any of the websites.
> 
> I cleared the failed logins in the GUI, rebooted.
> 
> Tried to manually drop my IP address
> /sbin/iptables -D INPUT -s xxx.xxx.xxx.xxx -j DROP
> 
> added my IP to hosts.allow
> 
> Uninstalled HostsDeny
> 
> Uninstalled DFIX
> 
> cleared PAM_ABL
> rm /var/lib/abl/hosts.db
> rm /var/lib/abl/users.db
> 
> if I shut off iptables - I can access the server, but FTP access still fails.
> 
> Turn back on IPTABLES - bam - locked out again
> 
> /etc/init.d/pam_abl status <-----------clear - nothing blocked
> 
> rebooted several times in the process of above... 
------- End of Original Message -------
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20130106/2fad8f67/attachment.html>


More information about the Blueonyx mailing list