Disable IPv6 on CentOS


/ Published in: Bash
Save to your folder(s)

How to disable IPv6 on CentOS. Suggested for security if you are runing a security check on csf firewall. The above is only for witht he 5.4 update - more infor can be found here: http://wiki.centos.org/FAQ/CentOS5#head-47912ebdae3b5ac10ff76053ef057c366b421dc4


Copy this code and paste it in your HTML
  1. touch /etc/modprobe.d/disable-ipv6
  2. echo "options ipv6 disable=1" >> /etc/modprobe.d/disable-ipv6

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.