On Friday 05 July 2002 3:44 pm, david wrote:

> Tony:
>
> When I write these rules in the command line all is OK and  the rules works
> fine.

Good.   This is progress.

> But if I put the same rules in a script :
>
> #!/bin/bash
> # Standard default policies
> iptables -P INPUT DROP
> iptables -P FORWARD DROP
> iptables -P OUTPUT DROP
>
> I got these errors
>
> iptables :Bad police name
> iptables :Bad police name
> iptables :Bad police name
>
> Then what?

What is the output of this command ?

find  /  -name  iptables

 

Antony.

Reply via email to