From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Humme Subject: Re: trying to get one blessed thing to work Date: Mon, 8 Jul 2002 19:30:15 +0200 Sender: netfilter-admin@lists.samba.org Message-ID: <0207081930150C.14428@Lms> References: <20020708123223.7107dc16.mt@open2web.com> <02070818562409.14428@Lms> <077c01c226a4$3587a7d0$3200a8c0@jungle.funkybadger.org> Reply-To: jan.humme@xs4all.nl Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <077c01c226a4$3587a7d0$3200a8c0@jungle.funkybadger.org> Errors-To: netfilter-admin@lists.samba.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: "Adam D. Barratt" , Netfilter Mailing List On Monday 08 July 2002 19:23, Adam D. Barratt wrote: > 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. Thank you. I deserved and needed to hear that. Jan Humme.