Help - Search - Members - Calendar
Full Version: flush ipchains?
The Planet Forums > Control Panels > Plesk
bobk
I just had the bright idea that I could add a cron job to flush all the firewall rules, say every ten minutes. That would let me play around with ipcahins without fear of locking myself out. When I have it working to my satisfaction, I'll delete the cron job.

Just wanted to check here first, though.. I think all I need is a script that runs "ipchains -F" Is that right, or should I flush each one indvidually? Or both? Comments?
Danimal
bobk,

You might want to check out this thread:
http://forum.rackshack.net/showthread.php?...=&threadid=3281

In particular, I posted a script near the end of the thread that does exactly this, but not via cron.

Enjoy!

-Danimal
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.