Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Edmundo Carmona <eantoranz@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Re: Iptables for webmail access
Date: Tue, 27 Sep 2005 12:45:48 -0400	[thread overview]
Message-ID: <65aa6af9050927094547a513b7@mail.gmail.com> (raw)
In-Reply-To: <65aa6af90509270945451b637e@mail.gmail.com>

are you allowing traffic on the lookback interface in input?

iptables -A INPUT -i lo -j ACCEPT

Remember traffic to localhost will go through OUTPUT, and then will reach INPUT.

On 9/27/05, Alejandro Cabrera Obed <sisdis@tournet.com.ar> wrote:
> Hi people,
>
> I have a Linux machine with a webmail server  (smtp+imap+http), and I have a
> iptables script in order to protect the host.
>
> By default I deny all the traffic. Then, I enable all new connections
> (--syn) from every hosts (-s 0/0) to ports 25, 80 and 143.
>
> But whern a try to log in via web, I can enter the webmail interface and I
> get a message teling "IMAP timeout".
>
> The connection from the webmail to the imap server is from eth0 to eth0, I
> suposse Im forgetting something like this.....
>
> Can you help me with a iptables rule in order to connect to my imap server
> from the webmail interface, both in a unique machine ???
>
> Thanks a lot,
>
>
> Alejandro
>
>
>


  parent reply	other threads:[~2005-09-27 16:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27 16:44 Iptables for webmail access Alejandro Cabrera Obed
     [not found] ` <65aa6af90509270945451b637e@mail.gmail.com>
2005-09-27 16:45   ` Edmundo Carmona [this message]
2005-09-28  9:32 ` Jörg Harmuth

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=65aa6af9050927094547a513b7@mail.gmail.com \
    --to=eantoranz@gmail.com \
    --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