BUMP!!!
Hello all, Got a little problem I would like to allow staff to access emails externally on mail.ourdomain.org.
Our external IP is setup with our county council, I have asked to open a subdomain on their dns servers which is done but www.ourdomain.org and mail.ourdomain.org both resolve to the same external ip address. Now, we use smoothwall express as our firewall and I have setup up port forwarding for our external ip to resolve to our web server. So now both www.ourdomain.org and mail.coqueths.org bring up our school website. But I want mail.ourdomain.org to go to our zimbra email server. Is there a way to sort this or do I have to get another external ip for mail.ourdomain.org? PS. Both http and https are taken on www.ourdomain.org.
Thanks
Last edited by clarky2k3; 02-12-2009 at 11:38 AM.
BUMP!!!
you need to setup a reverse proxy.
Squid, nginx, apache and many more will do this for you.
I personally use nginx for 2 apache webservers, 1 exchange box, and a cacti box.
clarky2k3 (02-12-2009)
From the looks of it you'll be looking to do reverse proxying - I don't know whether smoothwall express has this feature. (I know that may not be of much help, but it may give you something to look for). If it doesn't then the easiest solution may be to get a second IP for external access to your mail.
Edit: Looks like I should finish one job at a time, benaus has given a more full answer than me.
Cheers
Will
Last edited by Willott; 02-12-2009 at 01:49 PM. Reason: Beaten to reply!
clarky2k3 (02-12-2009)
Any ideas where I would start setting up a reverse proxy. I am running an apache webserver. I asume you run nginx behind your firewall with port forwarding on your router set to forward to the nginx box, yes?
Last edited by clarky2k3; 02-12-2009 at 02:13 PM.
If you already have a apache box running, you can use it as a webserver and reverse proxy. Setup a vhost for the zimbra mail server, and use the following guide for the rest
Configuring Apache virtual hosts for NAT
clarky2k3 (03-12-2009)
There are currently 1 users browsing this thread. (0 members and 1 guests)