探索,發現,愛好、學習,記錄,分享。
學海無涯,天涯若比鄰,三人行,必有我師。

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

版權聲明:本文采用知識共享 署名4.0國際許可協議 [BY-NC-SA] 進行授權
轉載事宜:如需轉載需徵得應允,轉載必須注明來源於本站的信息。
文章名称:《Directadmin启用IPv6》
文章链接:https://www.thefreesky.com/blog/19553.html
本站資源僅供個人學習交流,請於下載後24小時內刪除,不允許用於商業用途,否則法律問題自行承擔。

評論 抢沙发