Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-26-2008, 02:23 AM
New Member
 
Posts: 4
Default port forwarding for admin interface

Hello,

I thought I give zimbra another try and installation worked pretty smooth on Ubuntu 8.04.
The problem I have is that I am behind a nasty firewall that has pretty much all ports closed except for a few standard ones.
I want to access the admin interface through one of the standard ports and redirect it with iptables on the zimbra server to port 7071.

This is what I added to iptables:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j REDIRECT --to-port 7071

when I access https://www.example.com:8080 then the server replies, but redirects the request to https://www.example.com/zimbra/?zinitmode=http

How do I setup iptables properly to get this working?
Thanks for any help
Michael
Reply With Quote
  #2 (permalink)  
Old 08-26-2008, 07:12 AM
Zimbra Employee
 
Posts: 46
Default

You might want to set zimbraAdminPort and zimbra_admin_service_port to your custom port.

su - zimbra
zmprov ms `zmhostname` zimbraAdminPort 8080
zmlocalconfig -e zimbra_admin_service_port=8080
zmcontrol stop
zmcontrol start

Also remove the iptables rule, it is not needed. Server admin port should listen on 8080
__________________
- Irfan



Reply With Quote
  #3 (permalink)  
Old 08-26-2008, 01:09 PM
New Member
 
Posts: 4
Default

Thanks for your reply.
That would certainly be the perfect solution, if only it would work.
Zimbra continues to listen on 7071.

Quote:
Originally Posted by irfan View Post
You might want to set zimbraAdminPort and zimbra_admin_service_port to your custom port.

su - zimbra
zmprov ms `zmhostname` zimbraAdminPort 8080
zmlocalconfig -e zimbra_admin_service_port=8080
zmcontrol stop
zmcontrol start

Also remove the iptables rule, it is not needed. Server admin port should listen on 8080
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.