From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: netfilter@lists.netfilter.org
Subject: Re: Fwd: Re: Help with ICMP Ruls
Date: Thu, 15 Jul 2004 15:04:45 -0500 [thread overview]
Message-ID: <40F6E35D.4090007@pbl.ca> (raw)
In-Reply-To: <20040715195526.1368.qmail@web40709.mail.yahoo.com>
Real Cucumber wrote:
> I do have a state rule already for allowing any
> established,related connections.
>
> So should I add another one such as:
>
> iptables -A FORWARD -p icmp -m state --state RELATED
> -j ACCEPT
>
> The current ruleset is attached (I've only excluded
> the variables and logging sections of it).
>
> # Allow previously initiated and accepted connections
> # to bypass firewall tests (state matching)
> iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
> iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
> iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
If you have this three generic rules, you don't need separate rule just
for ICMP. The generic rule will match all IP protocols (tcp, udp, and
icmp).
--
Aleksandar Milivojevic <amilivojevic@pbl.ca> Pollard Banknote Limited
Systems Administrator 1499 Buffalo Place
Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7
next prev parent reply other threads:[~2004-07-15 20:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-15 19:55 Fwd: Re: Help with ICMP Ruls Real Cucumber
2004-07-15 20:04 ` Aleksandar Milivojevic [this message]
2004-07-15 20:13 ` Antony Stone
2004-07-15 20:18 ` Real Cucumber
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=40F6E35D.4090007@pbl.ca \
--to=amilivojevic@pbl.ca \
--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