Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: "Oriol Magrané" <omagrane@mediapro.es>
Cc: netfilter@lists.netfilter.org
Subject: Re: Simple question
Date: Wed, 05 May 2004 19:43:51 +0200	[thread overview]
Message-ID: <409927D7.7040705@rtij.nl> (raw)
In-Reply-To: <001501c432b5$7a5c5f80$a704a8c0@mpro4167>

Oriol Magrané wrote:

>
>     Hello!
>     Just one question...
>     I have a firewall with the INPUT, OUTPUT and FORWARD policies set
> to DROP, and now I want to allow connections from localhost to
> localhost (any port). Which chains are implied here? INPUT? OUTPUT? Both?
>     How should the needed rule(s) be?
>


This should do it:
-A INPUT -i lo -j ACCEPT
-A OUTPUT -i lo -j ACCEPT

HTH,
M4




  parent reply	other threads:[~2004-05-05 17:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-05 15:27 Simple question Oriol Magrané
2004-05-05 16:19 ` Aleksandar Milivojevic
2004-05-05 16:25 ` Antony Stone
2004-05-05 16:35 ` Simple question (nfcan: addressed to exclusive sender for this address) Jim Laurino
2004-05-05 17:43 ` Martijn Lievaart [this message]
2004-05-06 21:45   ` Simple question Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2005-04-27 10:35 simple question Askar
2005-04-27 10:50 ` Mohamed Eldesoky
2005-04-27 10:58   ` Askar
2005-04-27 11:04     ` Cedric Blancher
2005-04-27 11:07       ` Cedric Blancher
2005-04-27 14:21 ` Jason Opperisano
2007-05-22 12:35 Filka Michal
     [not found] ` <da3a2a260705221120x3216601doee80f297904493a0@mail.gmail.com>
2007-05-23  5:33   ` Filka Michal

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=409927D7.7040705@rtij.nl \
    --to=m@rtij.nl \
    --cc=netfilter@lists.netfilter.org \
    --cc=omagrane@mediapro.es \
    /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