Aminserve: Your reliable partner for RDP VPS Dedicated Server VPN since 2010

No restriction, Crypto accepted from anyone, anywhere!

Disable ipv6 in Centos 5.x , RHEL & Fedora

Table of Contents

By default the ipv6 module is turned on during the installation, you can turn off the module or install/configure the ip6tables tables to prevent your server from attacks.
Steps to disable the ipv6 module.
Edit the file /etc/modprobe.conf in your favorite editor and add the lines below.
alias net-pf-10 off
alias ipv6 off
Edit the /etc/sysconfig/network file
Change to
NETWORKING_IPV6=no
Disable the ipv6 firewall by :
service ip6tables stop

chkconfig ip6tables off
Restart your server and make sure that inet6 addr: is not listing any ipv6 ips in the ifconfig after reboot.

Can’t decide which plan is right for you? We will guide you step by step.

logo

Quality hosting since 2010