[Centos] Messing around with iptables
Andrew.Cotter at SomersetCapital.com
Thu Aug 12 18:18:20 UTC 2004
# DROP PING
iptables -A INPUT -p icmp -s 127.0.0.1 -j DROP
From: centos-admin at caosity.org [mailto:centos-admin at caosity.org]On
Behalf Of scty Library
Sent: Thursday, August 12, 2004 2:07 PM
To: centos Linux
Subject: Re: [Centos] Messing around with iptables
No, that did not work either.
--- Dag Wieers <dag at wieers.com> wrote:
> On Thu, 12 Aug 2004, scty Library wrote:
> > I am messing around with iptables, trying to learn
> > it works so that I can build my self a
> > and mabey a VPN. Anyway I tried to use a command
> on my
> > Desktop CentOS3 machine.
> > "iptables -A INPUT -s 127.0.0.1 -p icmp -j DROP"
> > now the command seems to have went through because
> > didn't get any errors, but when I go to ping
> > I am getting a response and my packet loss is 0%.
> > should be 100% packet loss.
> > Can anyone tell me what I am doing wrong. I am
> > trying to do anything yet, just want to learn by
> > exploring.
> iptables -A INPUT -d 127.0.0.1 -p icmp -j DROP
> Since you're pinging 127.0.0.1, that's the
> destination (-d) address, not
> the source (-s) address.
> -- dag wieers, dag at wieers.com,
> http://dag.wieers.com/ --
> [Any errors in spelling, tact or fact are
> transmission errors]
> CentOS mailing list
> CentOS at caosity.org
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
CentOS mailing list
CentOS at caosity.org
More information about the CentOS