PDA

View Full Version : flush iptables by accident, cannot remotely connect


tiamsanit
8th November 2008, 11:35
Hello, everyone

I have Internet server which locate at my office. Today I remote via ssh to do some maintainance but something really bad occured. I had accidentally excuse iptables -F command, which made connect to the server all cut.
Now I cannot even ping my server so my only solution is to go to the office and use console for repair, right?

My serious problem is I have no backup of IP rules so if anyone can help me to restore Iptable to its original state or default setting that suitable with ISPconfig server or any safe to deploy rules will be very appriciate.

Thanks in advance

falko
9th November 2008, 15:10
Have you tried to reboot the system?