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,731
Replies
5
Views
11,186
Replies
4
Views
5,050
Replies
52
Views
58,581
Latest Threads
Replies
1
Views
66
Replies
1
Views
78
Replies
2
Views
733
Recommended Threads
Replies
25
Views
13,285
Replies
2
Views
4,330
Replies
0
Views
1,973
Replies
6
Views
3,671

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