Mailinglist Archive: opensuse-security (228 mails)

< Previous Next >
Re: [suse-security] Default policy setting with iptables
  • From: Felix Günther <mailing@xxxxxxxxxxxxxx>
  • Date: Thu, 17 Mar 2005 16:25:42 +0100
  • Message-id: <4239A176.4070600@xxxxxxxxxxxxxx>
Hi,

Stefan.Junge@xxxxxxxxxxxxxxx schrieb:
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP

iptables -F
iptables -t nat -F
iptables -X

You flush the tables (iptables -F) after you set your Policies. You
should exchange these two blocks: First flush, then set the policies.

But: This hasn't changed from kernel 2.4 to 2.6, as far as i know...

Regards,
Felix Günther



< Previous Next >
Follow Ups
References