clarky2k3 Posted December 2, 2009 Posted December 2, 2009 (edited) 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 http://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 http://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 http://www.ourdomain.org. Thanks Edited December 2, 2009 by clarky2k3
benaus Posted December 2, 2009 Posted December 2, 2009 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. 2
Willott Posted December 2, 2009 Posted December 2, 2009 (edited) 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 Edited December 2, 2009 by Willott Beaten to reply! 1
clarky2k3 Posted December 2, 2009 Author Posted December 2, 2009 (edited) 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? Edited December 2, 2009 by clarky2k3
benaus Posted December 2, 2009 Posted December 2, 2009 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 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now