Question
How to enable IPv6 addresses on a Plesk server?
Answer
Note: Applying this configuration requires administrative access. Consider contacting the Plesk administrator in case it is required.
To enable IPv6 addresses support on Plesk Server
Log in to the server via SSH
Create the following file
/etc/sysctl.d/ipv6.conf:# touch /etc/sysctl.d/ipv6.conf
Add the following lines into
/etc/sysctl.d/ipv6.conf:net.ipv6.conf.all.disable_ipv6=0
net.ipv6.conf.default.disable_ipv6=0Apply the settings from the
/etc/sysctl.d/ipv6.confvia the following command:# sysctl -w net.ipv6.conf.default.disable_ipv6=0
# sysctl -w net.ipv6.conf.all.disable_ipv6=0Add required IPv6 addresses in Plesk UI via Tools & Settings > IP Addresses .
- To enable IPv6 for Plesk UI itself create a configuration file
/etc/sw-cp-server/conf.d/ipv6_ports.incand fill it with below content:listen [::]:8443 ipv6only=on ssl;
listen [::]:8880 ipv6only=on; - Restart Plesk service:
# service sw-cp-server restart
To disable IPv6 support follow the article How to disable IPv6 addresses on a Plesk server