Web Hosting Talk







View Full Version : I bolck my self using ....


zoomx
08-17-2004, 05:44 PM
I bolck my self using

/sbin/iptables -A INPUT -s xxxxxxxxxx -j DROP


xxxxxxxx my IP


how can I unblock it ??

RaviSharma
08-17-2004, 05:46 PM
Call you Datacenter to flush the IP tables, than login and unblock yourself.

sasha
08-17-2004, 05:48 PM
There is a leason here. When dealing with iptables , set up the cron job that will do
iptables -F every 5 minutes, That way when you screw up, and you will, chaines get cleaned and you get to log in again.

zoomx
08-17-2004, 05:49 PM
I have brother in another country

can you please give me the command so I can give him and unblock it

with out Datacenter help

Nebulae
08-18-2004, 03:03 AM
iptables -F

Should flush the iptables rules. Be sure to implement the rules you want again after you log in, as this will flush *all* of your rules.

RutRow
08-18-2004, 09:06 AM
If your default policy is set to DROP, then iptables -F alone won't help you. You will also need:
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT