Disable IPv6 on CentOS 6/7/8 server - SolusVM

If you use some servers that 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 to disable IPv6.

Let open file /etc/sysctl.conf

nano /etc/sysctl.conf

Adding to end of the file with lines as follows:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

Save and reload settings.

sysctl -f /etc/sysctl.conf

Now it is done, the system disabled the IPv6. Good luck!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix installation issue of Virtualizor

In this tutorial, we are going to explain to you how to fix a problem with virtualizor on some...

How to Install SolusVM Master on CentOS 7.x?

SolusVM is a popular VPS hosting control panel and SolusVM master is used for controlling Slave...

Install Froxlor Server Management Panel 0.10.15

You can download shell installer which downloads the tarball, extracts it and sets up the basics....

Force Main IP Remote Detection (SolusVM)

If you have multiple IPs assigned to your KVM VPS and remote connections are only seeing your...

How to setup rDNS from admin panel of virtualizor?

One of our clients asked us, how may he be able to update the rDNS of an IPv4 address, that is...