Hi Folks,
I am trying to disable IPv6 in an Ubuntu 16.04 Container. I have been unsuccessful in everything I have attempted. I need it disabled for a VPN setup.
______________________________________
I have attempted:
Adding to LXC Config:
lxc.sysctl.net.ipv6.conf.eth0.disable_ipv6=1
lxc.sysctl.net.ipv6.conf.all.disable_ipv6=1
Creating a new Interface and leaving IPv6 as Static with no Information.
Creating a kernel blacklist (not functional in LXC)
Modifying /etc/sysctl.conf in Container (not functional in LXC)
______________________________________
None of these options have worked, I am stuck now and I need to ensure IPv6 is disabled to prevent passing OpenVPN.
I should note, when creating the Container initially I had SLAAC enabled. I am wondering if this option has remained enabled for some reason (even after deleting and creating new interface).
Rationale: While, I promote the need to move to IPv6 as much as possible, in this case I need to disable it for an IPv4 only VPN in which I want to disable IPv6 Leaks.
Any advice would be appreciated.
Thanks
I am trying to disable IPv6 in an Ubuntu 16.04 Container. I have been unsuccessful in everything I have attempted. I need it disabled for a VPN setup.
______________________________________
I have attempted:
Adding to LXC Config:
lxc.sysctl.net.ipv6.conf.eth0.disable_ipv6=1
lxc.sysctl.net.ipv6.conf.all.disable_ipv6=1
Creating a new Interface and leaving IPv6 as Static with no Information.
Creating a kernel blacklist (not functional in LXC)
Modifying /etc/sysctl.conf in Container (not functional in LXC)
______________________________________
None of these options have worked, I am stuck now and I need to ensure IPv6 is disabled to prevent passing OpenVPN.
I should note, when creating the Container initially I had SLAAC enabled. I am wondering if this option has remained enabled for some reason (even after deleting and creating new interface).
Rationale: While, I promote the need to move to IPv6 as much as possible, in this case I need to disable it for an IPv4 only VPN in which I want to disable IPv6 Leaks.
Any advice would be appreciated.
Thanks