diff --git a/disable-IPV6.md b/disable-IPV6.md new file mode 100644 index 0000000..e2543c6 --- /dev/null +++ b/disable-IPV6.md @@ -0,0 +1,55 @@ +--- +title: Disable IPv6 on Proxmox +description: How to permanently disable IPv6 on Proxmox VE Server. +template: comments.html +tags: [proxmox, ipv6] +--- + +# Disable IPv6 on Proxmox Permanently + +By default, Proxmox IPv6 is enabled after installation. This means that the IPv6 stack is active and the host can communicate with other hosts on the same network via IPv6 protocol. + +Output of `ip addr` command: + +![Default IPv6 Proxmox][default-ipv6-proxmox-img] + +You can disable IPv6 on Proxmox VE by editing the `/etc/default/grub` file. + +```shell +nano /etc/default/grub +``` + +add `ipv6.disable=1` to the end of `GRUB_CMDLINE_LINUX_DEFAULT` and `GRUB_CMDLINE_LINUX` line. Don't change the other values at those lines. + +```bash +GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1" +GRUB_CMDLINE_LINUX="ipv6.disable=1" +``` + +The config should look like this: + +![Grub Configuration][grub-configuration-img] + +Update the grub configuration. + +```shell +update-grub +``` + +Save and exit. Reboot Proxmox Server to apply the changes. + +Output of `ip addr` command after disabling IPv6 on Proxmox VE: + +![No IPv6 Proxmox Image][no-ipv6-proxmox-img] + + + + + + + +[default-ipv6-proxmox-img]: ../../../assets/images/1ee15c1c-bd9a-11ec-926f-3b1ee33b95ee.jpg 'Default IPv6 Proxmox Image' +[grub-configuration-img]: ../../../assets/images/f1f18772-f881-11ec-9918-afad89ede03c.jpg 'Grub Configuration' +[no-ipv6-proxmox-img]: ../../../assets/images/542c7a30-bd9c-11ec-848e-932ce851a8c3.jpg 'No IPv6 Proxmox Image' + +