Koozali.org: home of the SME Server

Port forwarding to IMP Webmail

Mark Worley

Port forwarding to IMP Webmail
« on: June 03, 2003, 09:28:49 AM »
Hi,
Currently using SME 5.6 in server only mode. This server is behind a Smoothwall firewall. I want external users to be able to access IMP webmail on the SME box. I have configured a port-forwarding rule on the smoothwall box to forward all requests on port 2000 to port 80 on the SME 5.6 box. From the Internet I enter the address: http://x.x.x.x:2000 and this gives me the default web site on the SME box. The trouble is when I enter http://x.x.x.x:2000/webmail I get a "page cannot be found" error. If I enter http://x.x.x.x:2000/webmail/ I get the IMP login screen, however when I login I get another "page cannot be found" error.
I am hoping that someone else has managed to get IMP access through a firewall and can give me a few suggestions...
Any help much appreciated,
Mark Worley

Trevor B

Re: Port forwarding to IMP Webmail
« Reply #1 on: June 04, 2003, 02:24:00 PM »
Mark,

IMP works fine through a firewall, but you are also getting the smoothie to redirect ports. IMP will be sending the URL for the next page as http://x.x.x.x/whatever (ie. without the :2000). You could either go in and try to hack horde/imp, you could use a web redirection service (eg zonedit where you could say www.yourdomain.com => yourdomain.com:2000) or you could leave the smoothie alone and do the redirection on the SME box (fairly recent discussion on this over on the experienced forum).

BTW, I am assuming that you really meant https and port 81, which most ISP don't seem to block.

Trevor B


Mark Worley wrote:
>
> Hi,
> Currently using SME 5.6 in server only mode. This server is
> behind a Smoothwall firewall. I want external users to be
> able to access IMP webmail on the SME box. I have configured
> a port-forwarding rule on the smoothwall box to forward all
> requests on port 2000 to port 80 on the SME 5.6 box. From the
> Internet I enter the address: http://x.x.x.x:2000 and this
> gives me the default web site on the SME box. The trouble is
> when I enter http://x.x.x.x:2000/webmail I get a "page cannot
> be found" error. If I enter http://x.x.x.x:2000/webmail/ I
> get the IMP login screen, however when I login I get another
> "page cannot be found" error.
> I am hoping that someone else has managed to get IMP access
> through a firewall and can give me a few suggestions...
> Any help much appreciated,
> Mark Worley