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,449
Replies
5
Views
10,532
Replies
4
Views
4,762
Replies
52
Views
54,834
Recommended Threads
Replies
0
Views
4,769
Replies
3
Views
5,094
Replies
33
Views
33,896
Replies
10
Views
4,625

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