IAMEM Hosting

Disable IPV6 on CentOS 6.x servers

Home > Blog > cPanel > Disable IPV6 on CentOS 6.x servers
03Feb, 2016
0

Disable IPV6 on CentOS 6.x servers

 

1. Edit /etc/sysctl.conf  and add the following line

 

net.ipv6.conf.all.disable_ipv6 = 1

 

2. Edit /etc/sysconfig/network and add the following line

 

NETWORKING_IPV6=no

 

3. Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add the following line

 

IPV6INIT=no

 

4. Stop iptables6 service

 

service iptables6 stop

 

5. Disable iptables6 service

 

chkconfig ip6tables --level 345 off

 

6. Reboot the server

 

reboot

 

Done IPV6 is disabled on your CentOS 6.X server.

 

Leave a Reply

eleven + seven =

Copyright © 2019 | iamemhost.com . All rights reserved.