Hi all,
is there a way to make NetworkManager fire up with ivp6 disabled. Currently whenever I am connecting to a new WIFI-Network ipv6 is set to automatic. I´d rather have it disabled when connecting.
I tried to tinker with the NetworkManager.conf and included the following:
[connection]
ipv6.method=disable
Unfortunately it did not do the trick. I am using debian12-template for my qube holding the wifi adapter.
DVM´s solution seems the way to go - works very smoothly. Networkmanager does not show ipv6 in the interface anymore although it is still set to “automatic” in the ipv6 section. Unfortunately solene´s and barto´s solution do not achieve the desired effect. The Networkmanager still shows an ipv6 for the interface.
? Does the first disable IPv6 only for sys-net, and in contrast qvm-features propagates down to all appVMs using sys-net?
What lead me here:
I noticed, my Mullvad VPN proxyVM has lots ip6 qubes nft firewall rules and I’d like to completely disable IPv6 for peace of mind with leaking and to de-clutter rules. Then, what command to use preferrably (knowing, there are Mullvad VPN app settings to disable IPv6, but I’d like to disable it for whole system)?
Using the “kernelopts” is really disabling ipv6 in the sys-net kernel, and makes it impossible to re-enable at run-time by a malicious (or maybe just “too smart”) program.
Thanks. In contrast qvm-features sys-net ipv6 0 doesn’t change kernel opts (there was no change in qube settings), this seems to be a qubes-internal network setting. But not sure, how it works.
What surprised me, that even with qvm-features <vm> ipv6 0, I got an IPv6 with qubesdb-read /qubes-ip6 within that qube - also tried this setting from a netvm to propagate. And no matter, if disabling ipv6 in kernel or this setting, nftables entries for ip6 qubes are created anyway, so cleanup of firewall rules is not possible I guess.