david([EMAIL PROTECTED]) is reported to have said: > Tony: > > When I write these rules in the command line all is OK and the rules works > fine. > But if I put the same rules in a script : > > #!/bin/bash Add IPTABLES=/sbin/iptables #(Or where your iptables binary is) > # Standard default policies
Change iptables to $IPTABLES $IPTABLES -P FORWARD ACCEPT $IPTABLES -P OUTPUT ACCEPT $IPTABLES -P INPUT DROP > iptables -P INPUT DROP > > > iptables -P FORWARD DROP > iptables -P OUTPUT DROP > -- I haven't lost my mind; it's backed up on tape somewhere. _______________________________________________________
