Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ray Leach <raymondl@knowledgefactory.co.za>
To: Netfilter Mailing List <netfilter@lists.netfilter.org>
Subject: Re: Ping and traceroute denied?
Date: Wed, 18 Feb 2004 11:30:35 +0200	[thread overview]
Message-ID: <1077096635.2333.92.camel@raylinux.internal> (raw)
In-Reply-To: <40332D1F.5010806@epost.de>

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

On Wed, 2004-02-18 at 11:15, Nicole Haehnel wrote:
> Hi,
> 
> I added this rules (with fwbuilder):
> 
> $IPTABLES -A FORWARD -p icmp  -m state --state NEW  -j ACCEPT
> $IPTABLES -A OUTPUT -p icmp  -m state --state NEW  -j ACCEPT
> $IPTABLES -A INPUT -p icmp  -m state --state NEW  -j ACCEPT
> 
> 
> Why was ping from an interface of my firewall-host denied?
> Traceroute too.
> 
When the return packets come back, their state is not NEW, probably
RELATED.

> What rule shall I add?
> 
$IPTABLES -A INPUT -p icmp  -m state --state NEW,RELATED  -j ACCEPT

> Thanks!
> 
> Nicole
-- 
--
Raymond Leach <raymondl@knowledgefactory.co.za>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-02-18  9:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-18  9:15 Ping and traceroute denied? Nicole Haehnel
2004-02-18  9:30 ` Ray Leach [this message]
2004-02-18 10:43   ` Nicole Haehnel
2004-02-18 10:52 ` Alexis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1077096635.2333.92.camel@raylinux.internal \
    --to=raymondl@knowledgefactory.co.za \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox