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
3,815
Replies
5
Views
11,453
Replies
4
Views
5,142
Replies
52
Views
60,436
Latest Threads
Replies
2
Views
201
Replies
1
Views
987
Replies
2
Views
742

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