Skip to main content

Enable IPv4 and IPv6 on Zimbra

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` "127.0.0.0/8 [::1]/128 IPv4/32 [IPv6]/128"
/opt/zimbra/libexec/zmiptool
zmcontrol restart