Hi

I try to build a firewall with iptables but there's
something I don't
understand.
I set the default policy for all tables to DROP:

iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP

Then I allow to ping.

# allow ping
iptables -A INPUT -p ICMP --icmp-type echo-request -j
ACCEPT
iptables -A OUTPUT -p ICMP --icmp-type echo-reply -j
ACCEPT

Then I ping any machine. The system tells me "ping:
sendmsg: Operation
not allowed".

Has someone got a clue why I can't ping even if I
explicitly tell the
firewall that pinging is allowed?

Thanks for any help.
Regards
Daniel Schaerli



__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Sie brauchen mehr Speicher f�r Ihre E-Mails? - http://premiummail.yahoo.de

Reply via email to