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
4,057
Replies
5
Views
11,976
Replies
4
Views
5,410
Replies
52
Views
67,457
Latest Threads
Replies
1
Views
1,234
Replies
3
Views
991
Replies
1
Views
590
Replies
2
Views
1,195
Replies
1
Views
799
Recommended Threads
Replies
1
Views
3,250
Replies
3
Views
3,572
Replies
1
Views
3,575

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