Enable IPv4 and IPv6 on Zimbra Collaboration

Work around nginx proxy IPv6 fix

sed -i 's| ipv6only=off||g' /opt/zimbra/conf/nginx/templates/nginx.conf.*

Get current settings

su zimbra
zmprov gs `zmhostname` | grep -i ipmode

Get public IP

# IPv6
curl http://v6.ipv6-test.com/api/myip.php
# IPv4
curl http://v4.ipv6-test.com/api/myip.php

Enable IPv4 and IPv6

zmprov ms `zmhostname` zimbraIPMode both
zmprov ms `zmhostname` zimbraMtaMyNetworks " [::1]/128 IPv4/32 [IPv6]/128"
zmcontrol restart

2 Replies to “Enable IPv4 and IPv6 on Zimbra Collaboration”

  1. I’m using Zimbra 8.8. To enable IPv6 .I used the parameter ‘both’ and followed the process but it didn’t work. zmconfigd didn’t started after that.

  2. Hi

    Thanks for those instructions but there’s a keyword missing from the zmprov command, it should be:

    zmprov ms zmhostname zimbraMtaMyNetworks “ [::1]/128 IPv4/32 [IPv6]/128”

Leave a Reply

%d bloggers like this: