zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Debian disable IPv6

June 13, 2013 by Igor Drobot Leave a Comment

debian_logo

Since Debian 6 (squeeze) this is the working method to disable permanent IPv6 implementation. This method is also reboot safe.

cat /etc/sysctl.d/disable-ipv6.conf
net.ipv6.conf.all.disable_ipv6=1

cat /etc/sysctl.d/disable-ipv6.conf net.ipv6.conf.all.disable_ipv6=1

If you have no possibility to restart your system yet, this change can be made immediately work by executing:

sysctl -p /etc/sysctl.d/disable-ipv6.conf

sysctl -p /etc/sysctl.d/disable-ipv6.conf

Anothe method – perfect for firewall scripts:

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

Filed Under: Debian, IPv6, Linux, Networking Tagged With: Debian, Ipv6

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *