Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Brent Clark <bclark@eccotours.dyndns.org>
To: Jörg_Harmuth <harmuth@mnemon.de>
Cc: iptables <netfilter@lists.netfilter.org>
Subject: Re: cant ping fw
Date: Wed, 06 Jul 2005 14:04:09 +0200	[thread overview]
Message-ID: <42CBC8B9.8090605@eccotours.dyndns.org> (raw)
In-Reply-To: <42CBC275.2090003@mnemon.de>

Jörg_Harmuth wrote:
> Is this really the complete rule set ? No rules in OUTPUT and FORWARD,
> but policy set to DROP ? Anyway.
> There is no rule for lo. Add
> $IPT -<I | A> INPUT -i lo -j ACCEPT
> $IPT -<I | A> OUTPUT -o lo -j ACCEPT
> and for echo reply add
> $IPT -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT
> This should work.
> Have a nice time,
> Joerg

Hi Joerg

here is my OUTPUT

$IPT -t filter -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPT -t filter -A OUTPUT -m state --state INVALID -j LOG --log-prefix 
"INVALID output: " --log-tcp-options --log-ip-options
$IPT -t filter -A OUTPUT -m state --state INVALID -j DROP
$IPT -t filter -A OUTPUT -m state --state NEW -j ACCEPT
$IPT -t filter -A OUTPUT -j LOG --log-prefix "[OUTPUT DROP]: " 
--log-tcp-options --log-ip-options
$IPT -t filter -A OUTPUT -j DROP

and for my lo

$IPT -A INPUT -i lo -j ACCEPT
$IPT -A OUTPUT -o lo -j ACCEPT




  reply	other threads:[~2005-07-06 12:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-06 11:19 cant ping fw Brent Clark
2005-07-06 11:22 ` Scott
2005-07-06 11:37 ` Jörg Harmuth
2005-07-06 12:04   ` Brent Clark [this message]
2005-07-06 12:29     ` Jörg Harmuth
2005-07-06 12:43       ` Brent Clark

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=42CBC8B9.8090605@eccotours.dyndns.org \
    --to=bclark@eccotours.dyndns.org \
    --cc=harmuth@mnemon.de \
    --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