Disable IPv6 on Debian

This article provides a guide demonstrating how to disable IPv6 on Debian servers.

Launch 100% SSD VPS from $3.19/mo!

How to Disable IPv6 on Debian

To disable IPv6 on Debian server, follow the steps below:

  1. Edit the configuration file:
    sudo nano /etc/sysctl.d/99-disable-ipv6.conf
  2. Add the following lines:
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
  3. Apply the changes:
    sudo sysctl -p /etc/sysctl.d/99-disable-ipv6.conf
  4. Verify:
    cat /proc/sys/net/ipv6/conf/all/disable_ipv6
    should return:
    1

Launch 100% SSD VPS from $3.19/mo!

Conclusion

You now know how to disable IPv6 on Debian servers.

  • debian, ipv6
  • 0 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

Forcefully Delete an IP Address from SolusVM

If at any point you find you have an orphaned ipaddress, you can delete it by running the...

Do You Offer a Hardware Firewall Solution?

Yes, we have a very limited selection of hardware firewalls available. We appreciate the specific...

How to Create Sudo User on CentOS

This article provides step-by-step setup guide for adding Sudo user to CentOS system. The sudo...

How to Use Sudo

This article provides a guide to using a Sudo user on CentOS server. From the command line,...

Set Server Time Zones with Timedatectl

This article provides a guide to setting the server time and server time zone settings using...