Re: shorewall: imap doesn't work any longer
On Thu, 2003-10-09 at 08:12, Vittorio wrote:
> I have setup a debian 3.0 server functioning as a gateway, router,
> **IMAP SERVER**, and firewall. It connects to the internet via a DSL
> ppp0 connection and to the internal network through eth1.
>
> Being an absolute beginner, I've set up shorewall with a basic
> configuration suggested in the net. Since then the imap connection
> from client to server isn't working any longer (the server collects
> mail from the internet; the mail is read by clients by means of imap).
>
> How should I configure shorewall to make the imap server work again
> (the imap traffic is between server's eth1 interface and client eth0
> interface)?
Out of the Box, Shorewall is configured to DENY connections from the
Internet to the Shorewall host (typically referred to as fw in the
/etc/shorewall config files).
You need to create a rule to let hosts from the Internet zone connect to
the imap service on fw. I don't recall what port imap is off the top of
my head.
The config files or the examples on shorewall.net for enabling ssh to
the fw machine from a static IP on the Internet are instructive here.
If you know the static IPs of the clients, you can create a zone for
them, and follow that config.
madmac
>
> Step by step instructions will be highly appreciated.
>
> Ciao
>
> Vittorio
>
Reply to: