Hy
> I hope someone can take my paw and help me through the iptables setup, > because I'm a bit scared of the possibility of locking myself out of my > box... I know what you mean and be shure - if you do not use a "roll back system" you WILL lock you out of your server ;-)) Try to make your Firewall script like this: !/bin/bash # Deadmans Switch # like in german railways. # The driver has to press a # button when its buzzing. # If the driver dont push the button the # Train stops case "$1" in start) # your rules her # iptables -t nat bla # At the verry end of start put something like this: echo "Are you dead ? answer with Ctrl C " sleep 4 echo "2 more" sleep 4 echo "1 to go" sleep 4 echo "OK open firewall" iptables -P INPUT ACCPET iptables -P OUTPUT ACCPET iptables -P FORWARD ACCPET iptables -F iptables -F -t nat ;; stop ) # bla bla ;; *) echo "usage $0 Start | Stop " esac
