First line of the script should read
#! /bin/sh
not
!/bin/sh
I think you may have just missed the # when you copied it.
Writing iptables rules isnt something that I would take on lightly. You really need to know what you are doing otherwise your leaving your box open to attack. If you dont know what you are doing, I would suggest using a frontend like firestarter or guarddog.
Last edited by short101 : 26-Feb-2005 06:49 AM.
|