Mailinglist Archive: opensuse (4054 mails)

< Previous Next >
Re: [SLE] need HELP with iptables Firewall
  • From: Alexey Eremenko <al4321@xxxxxxxxx>
  • Date: Fri, 20 Jan 2006 07:48:35 -0200
  • Message-id: <7fac565a0601200148l218fd2b6i586452f6f69d6012@xxxxxxxxxxxxxx>
>
>
> iptables -F INPUT
> iptables -F OUTPUT
> iptables -F FORWARD
> iptables -P INPUT -j DROP
> iptables -P OUTPUT -j DROP
> iptables -P FORWARD -j DROP
>
> --
> Kulla




Thanks Kulla, but there are 2 problems with your commands:

1.iptables -P INPUT -j DROP
doesn't work. it must be: iptables -P INPUT DROP

2. even after flushing all 3 chains, and set their default policy to DROP,
I still *can* access Apache2 web server !

any ideas?
< Previous Next >
Follow Ups
References