Disable IPv6 on CentOS

mattnz

Member
Registered
Joined
Jul 16, 2016
Messages
48
Points
8
If you use some servers have SolusVM that support IPv6 and get the problem could not send mail to Gmail when using Exim or other scripts to install a complete VPS.

The simple solution is disable IPv6.

Let open file /etc/sysctl.conf

Code:
nano /etc/sysctl.conf
Adding to end of the file with lines as follows

Code:
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
Save and reload settings

Code:
sysctl -f /etc/sysctl.conf
Now it done, the system disabled the IPv6. Good luck!
 
Newer Threads
Replies
1
Views
2,554
Replies
5
Views
8,613
Replies
4
Views
3,681
Replies
52
Views
42,456

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top