Jan Humme wrote: > On Monday 08 July 2002 18:32, Mark Tessier wrote: [...] > > The first thing I did was to set the policy to drop for the forward chain > > as in: > > > > iptables --policy FORWARD DROP > > => Response on my machine (and yours) is: > iptables v1.2.1a: Unknown arg '--policy' > Try 'iptables -h` or 'iptables --help' for more information.
Not on a 1.2.6a (or any version I've ever used) it's not. If you enter iptables --policy without any arguments, then you'll get that error. Enter the line as quoted and it'll work perfectly. > Suppose you mean: > #iptables -P FORWARD DROP ? RFTM. -P is shorthand for --policy, as iptables --help would quickly have shown. Adam
