Directadmin启用IPv6

Directadmin自1.37.0版本起开始完美支持IPv6. 如果你希望使你的Directadmin服务器/VPS支持IPv6,可以按如下步骤操作。(请先确认你的服务器/VPS上有ipv6地址)

1. 修改/usr/local/directadmin/conf/directadmin.conf文件

加入

1
					
ipv6=1

重启directadmin

2. 之后按照添加IPv4地址的方法一样操作,不过要注意的是添加IPv6的地址时,不需要加[]

netmask 255.255.255.0 这个仅是针对IPv4的,添加v6地址时可以忽略

3. Services

DirectAdmin: 如果你使用的版本低于1.37.0,虽然directadmin也能支持IPv6,但是你无法使用[v6地址]:2222来进行登录,1.37.0版本起不存在此问题

Apache: 完美支持

---------以下并非必要,我不打算翻译,仅贴出原文---------------

Exim:Exim does support IPv6, but you need to ensure it's compiled in. To check, type:

1
2
					
[root@server ~]# /wp-content/sbin/exim -bV | grep Support
Support for: crypteq IPv6 Perl OpenSSL move_frozen_messages Content_Scanning DKIM Old_Demime

which should give you an output similar to above. Ensure you see IPv6 in the output.
If you don't see IPv6 in the output, then you'll need to recompile exim, either using rpms, or from source. The latest Makefiles should have the required HAVE_IPV6=YES to ensure it's included.

Dovecot:If you're using the latest version of Dovecot 2.0.x, edit your /etc/dovecot.conf. You'll see these lines:

1
2
3
4
5
					
#IPv4
listen = *
#IPv4 and IPv6:
#listen = *, ::

Change them to look like this, then restart dovecot:

1
2
3
4
5
					
#IPv4
#listen = *
#IPv4 and IPv6:
listen = *, ::

For Dovecot 1.2.x, add this to your /etc/dovecot.conf (top section) and restart dovecot:

1
					
listen = "*, [::]"

ProFTPd: Apache support IPv6 out of the box. No need for changes.

Directadmin官方文档:http://help.directadmin.com/item.php?id=353

© 版权声明
THE END
請多多支持
点赞0
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情图片

    暂无评论内容