On Wed, 20 Jun 2001, Alois Treindl wrote:
[..]
>
> I know I could try to find out by trial and error, but my LVS is now
> an active production machine at a remote location (colocated in a
> cybercenter) and I am somewhat reluctant to play with ipchains for
> experiments, if it can be avoided. The danger is that I lock myself
> out (because I connect from outside to the director) or that I inhibit
> normal LVS usage if I make errors with new ipchains scripts.
>
Hi,
Do what I do, write a simple script as so:
------
#!/bin/bash
~/test/ipchains-script-test start
sleep 30
~/test/ipchains-script-original start
------
where the test script is what you're trying out. And the original script
would restore you to your original setting. The sleep command gives you 30
seconds to test things out and if you bugger things up, you'll just have
to wait 30 seconds before trying again.
HTH.
Yusseri
|